Class SymbolAnchor
Implements the anchor of a symbol layer, including placement mode and x, y anchor values.
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SymbolAnchor
Remarks
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 can be passed to MarkerSymbolLayer objects to control marker anchor properties.
Constructors
Name | Description |
---|---|
SymbolAnchor(Double, Double, SymbolAnchorPlacementMode) | Initializes a new instance of the SymbolAnchor class and sets up the properties. |
Properties
Name | Description |
---|---|
PlacementMode | Gets the anchor placement mode of the symbol anchor object. |
X | Gets the x-component of the symbol anchor object. |
Y | Gets the y-component of the symbol anchor object. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 200.2 |
.NET 6.0 | 100.13 - 200.2 |
.NET 6.0 Windows | 100.13 - 200.2 |
.NET 6.0 Android | 200.0 - 200.2 |
.NET 6.0 iOS | 200.0 - 200.2 |
.NET Framework | 100.5 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.5 - 100.15 |
iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.2 |