Go to the source code of this file.
◆ AGSSymbolAnchor
The anchor of a symbol layer, including placement mode and x, y anchor values.
This struct represents the properties necessary to define the anchor for a symbol layer. These anchor properties define both the anchor values and the placement mode. They can be used with AGSMarkerSymbolLayer
objects to control marker anchor properties.
- Since
- 100.5
◆ AGSSymbolAnchorPlacementMode
The list of possible symbol anchor placement modes.
- Since
- 100.5
Enumerator |
---|
AGSSymbolAnchorPlacementModeRelative | Specifies anchor with relative values. This mode causes anchor values to be interpreted as percentages, relative to the origin of the symbol. Percentage values must be expressed as fractions between [0, 1]. A 50% (.5) x-anchor, for example, moves the symbol layer anchor in the positive-x direction an amount equal to 50% of the symbol layer size.
|
AGSSymbolAnchorPlacementModeAbsolute | Specifies anchor with absolute values. This mode causes anchor values to be interpreted as absolute units (DIPs) rather than percentages.
|
◆ AGSSymbolAnchorMake()
Creates a symbol anchor.
- Parameters
-
x | The x-component of the anchor point. It can be any real number. The units of the value depend on the anchor's placement mode. The default value is 0 , regardless of placement mode. |
y | The y-component of the anchor point. It can be any real number. The units of the value depend on the anchor's placement mode. The default value is 0 , regardless of placement mode. |
placementMode | The anchor placement mode to use for the anchor values. The default value is AGSSymbolAnchorPlacementModeRelative |
- Since
- 100.5