Implements the anchor of a symbol layer, including placement mode and x and y anchor values. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.5 |
Inherits: |
Properties
- placementMode : Enums.SymbolAnchorPlacementMode
- x : double
- y : double
Signals
Detailed Description
SymbolAnchor contains the properties necessary to define the anchor for a symbol layer. These anchor properties define both the anchor values (x, y) and the placement mode. This object can be passed to MarkerSymbolLayer objects to control marker anchor properties.
SymbolAnchor is an immutable object. The properties of this class may only be assigned during object instantiation.
Property Documentation
Returns the anchor placement mode of the symbol anchor object.
The SymbolAnchorPlacementMode determines how Runtime interprets the SymbolAnchor anchor values. See the SymbolAnchorPlacementMode documentation for a description of the effects of each mode. The default mode is 'relative.'
Note: this property can only be set during instantiation.
See also Enums.SymbolAnchorPlacementMode.
Returns the x-component of the symbol anchor object.
The x-component of the SymbolAnchor can be any real number. The units of the value depend on the anchor placement mode of the SymbolAnchor. The default value is 0
, regardless of placement mode.
Note: this property can only be set during instantiation.
Returns the y-component of the symbol anchor object.
The y-component of the SymbolAnchor can be any real number. The units of the value depend on the anchor placement mode of the SymbolAnchor. The default value is 0
, regardless of placement mode.
Note: this property can only be set during instantiation.
Signal Documentation
Emitted when the placementMode property changes.
Note: The corresponding handler is onPlacementModeChanged
.
Emitted when the x property changes.
Note: The corresponding handler is onXChanged
.
Emitted when the y property changes.
Note: The corresponding handler is onYChanged
.