SymbolAnchor QML Type

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:

Object

Properties

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

placementMode : Enums.SymbolAnchorPlacementMode

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.


x : double

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.


y : double

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

placementModeChanged()

Emitted when the placementMode property changes.

Note: The corresponding handler is onPlacementModeChanged.


xChanged()

Emitted when the x property changes.

Note: The corresponding handler is onXChanged.


yChanged()

Emitted when the y property changes.

Note: The corresponding handler is onYChanged.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.