Method CreateCylinder
CreateCylinder(Color, double, double)
Creates a simple marker scene symbol with cylinder style.
Declaration
public static SimpleMarkerSceneSymbol CreateCylinder(Color color, double diameter, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color of the cylinder symbol. |
| double | diameter | The diameter in meters of base of the cylinder symbol. |
| double | height | The height in meters of the cylinder symbol. |
Returns
| Type | Description |
|---|---|
| SimpleMarkerSceneSymbol | A SimpleMarkerSceneSymbol using a cylinder style. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Invalid argument. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.2 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.3 - 200.8 |
| Xamarin.Android | 100.0 - 100.14 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.3 - 200.8 |
CreateCylinder(Color, double, double, SceneSymbolAnchorPosition)
Creates a simple marker scene symbol with cylinder style.
Declaration
public static SimpleMarkerSceneSymbol CreateCylinder(Color color, double diameter, double height, SceneSymbolAnchorPosition anchorPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color of the cylinder symbol. |
| double | diameter | The diameter in meters of base of the cylinder symbol. |
| double | height | The height in meters of the cylinder symbol. |
| SceneSymbolAnchorPosition | anchorPosition | The anchor position of the cylinder symbol. |
Returns
| Type | Description |
|---|---|
| SimpleMarkerSceneSymbol | A SimpleMarkerSceneSymbol using a cylinder style. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Invalid argument. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.2 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.3 - 200.8 |
| Xamarin.Android | 100.0 - 100.14 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.3 - 200.8 |