Class: QgsSteppedLineScaleBarRenderer

class qgis.core.QgsSteppedLineScaleBarRenderer

Bases: QgsScaleBarRenderer

Scalebar style that draws a stepped line representation of a scalebar.

New in version 3.14.

QgsSteppedLineScaleBarRenderer() Constructor for QgsSteppedLineScaleBarRenderer.

QgsSteppedLineScaleBarRenderer(QgsSteppedLineScaleBarRenderer)

Methods

clone

rtype

QgsSteppedLineScaleBarRenderer

draw

param context

flags

rtype

QgsScaleBarRenderer.Flags

id

rtype

str

sortKey

rtype

int

visibleName

rtype

str

clone(self) QgsSteppedLineScaleBarRenderer
Return type

QgsSteppedLineScaleBarRenderer

draw(self, context: QgsRenderContext, settings: QgsScaleBarSettings, scaleContext: QgsScaleBarRenderer.ScaleBarContext)
Parameters
flags(self) QgsScaleBarRenderer.Flags
Return type

QgsScaleBarRenderer.Flags

id(self) str
Return type

str

sortKey(self) int
Return type

int

visibleName(self) str
Return type

str