Scale Bar Settings Base
Abstract settings class for ScaleBarPlugin.
This abstract class exposes all the required public APIs to configure the ScaleBarPlugin.
Constructors
ScaleBarSettingsBase
Link copied to clipboard
fun ScaleBarSettingsBase()
Content copied to clipboard
Functions
get Settings
Link copied to clipboard
Get current scalebar configuration.
update Settings
Link copied to clipboard
Update scalebar configuration, the update will be applied to the plugin automatically.
Properties
borderWidth
Link copied to clipboard
isMetricUnits
Link copied to clipboard
marginBottom
Link copied to clipboard
marginLeft
Link copied to clipboard
marginRight
Link copied to clipboard
primaryColor
Link copied to clipboard
refreshInterval
Link copied to clipboard
secondaryColor
Link copied to clipboard
showTextBorder
Link copied to clipboard
textBarMargin
Link copied to clipboard
textBorderWidth
Link copied to clipboard
useContinuousRendering
Link copied to clipboard
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.
Inheritors
ScaleBarPluginImpl
Link copied to clipboard