Class: QgsDoubleBoxScaleBarRenderer

class qgis.core.QgsDoubleBoxScaleBarRenderer

Bases: qgis._core.QgsScaleBarRenderer

Constructor for QgsDoubleBoxScaleBarRenderer.

QgsDoubleBoxScaleBarRenderer(QgsDoubleBoxScaleBarRenderer)

Double box with alternating colors.

draw(self, context: QgsRenderContext, settings: QgsScaleBarSettings, scaleContext: QgsScaleBarRenderer.ScaleBarContext)
drawDefaultLabels()
firstLabelString()
firstLabelXOffset()
name(self) → str
segmentPositions()
segmentWidths()