Method CreateDiamond
CreateDiamond(Color, Double, Double)
Creates a simple marker scene symbol with diamond style.
Declaration
public static SimpleMarkerSceneSymbol CreateDiamond(Color color, double size, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color of the diamond symbol. |
| System.Double | size | The size in meters of width and depth of the diamond symbol. |
| System.Double | height | The height in meters of the diamond symbol. |
Returns
| Type | Description |
|---|---|
| SimpleMarkerSceneSymbol | A SimpleMarkerSceneSymbol using a diamond style. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
CreateDiamond(Color, Double, Double, SceneSymbolAnchorPosition)
Creates a simple marker scene symbol with diamond style.
Declaration
public static SimpleMarkerSceneSymbol CreateDiamond(Color color, double size, double height, SceneSymbolAnchorPosition anchorPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color of the diamond symbol. |
| System.Double | size | The size in meters of width and depth of the diamond symbol. |
| System.Double | height | The height in meters of the diamond symbol. |
| SceneSymbolAnchorPosition | anchorPosition | The anchor position of the diamond symbol. |
Returns
| Type | Description |
|---|---|
| SimpleMarkerSceneSymbol | A SimpleMarkerSceneSymbol using a diamond style. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |