Scale Bar Settings Base
Abstract settings class for ScaleBarPlugin.
This abstract class exposes all the required public APIs to configure the ScaleBarPlugin.
Constructors
Functions
Properties
Defines width of the border for the scale bar.
Whether the scale bar is using metric unit. True if the scale bar is using metric system, false if the scale bar is using imperial units.
Defines the margin to the bottom that the scale bar honors.
Defines the margin to the left that the scale bar honors.
Defines the margin to the right that the scale bar honors.
Defines primary color of the scale bar.
Configures minimum refresh interval, in millisecond, default is 15.
Defines secondary color of the scale bar.
Configures whether to show the text border or not, default is true.
Defines margin of the text bar of the scale bar.
Defines text border width of the scale bar.
If set to True scale bar will be triggering onDraw depending on ScaleBarSettings.refreshInterval even if actual data did not change. If set to False scale bar will redraw only on demand. Defaults to False and should not be changed explicitly in most cases. Could be set to True to produce correct GPU frame metrics when running gfxinfo command.