OrsScaleBarManipulator¶
Manages the scale bar
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | Oct 27 2015 18:11 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | edc98e64761911e7823f448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsScaleBarManipulator.OrsScaleBarManipulator.OrsScaleBarManipulator(varname=None)¶ -
OrsStateScaleBarManipulate= 'OrsStateScaleBarManipulate'¶
-
OrsStateScaleBarManipulateActivation()¶
-
static
alignHorizontalText(scalebarGUID, justify)¶
-
static
alignVerticalText(scalebarGUID, justify)¶
-
canBeGenericallyOpened= False¶
-
contextualMenu(context)¶
-
handleChanged(oldState, newState)¶ This method is called when the state of the application is changed.
Parameters: - oldState (str) – name of the old (previous) state
- newState (str) – name of the new (current) state
-
handleTriggered(eventdata)¶ This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.
Parameters: eventData (OrsEvent.eventdata.InputEventData) – the event data
-
keepAlive= False¶
-
multiple= False¶
-
savable= True¶
-
setLineThicknessInteractive(scalebarGUID)¶
-
classmethod
setScaleBarAutoAdjustLength(scalebarGUID, floating)¶
-
static
setScaleBarBackground(scalebarGUID)¶
-
static
setScaleBarOutline(scalebarGUID)¶
-
static
setScaleBarVertical(scalebarGUID)¶
-
static
setScalebarHashType(scalebarGUID, hashStyle)¶
-
setSpecificLengthInteractive(scalebarGUID)¶
-
static
showScaleBarText(scalebarGUID)¶
-
stateDescriptors= [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]¶
-