Method CreateSphere
CreateSphere(Color, Double)
Creates a simple marker scene symbol with sphere style.
Declaration
public static SimpleMarkerSceneSymbol CreateSphere(Color color, double diameter)
Parameters
Type | Name | Description |
---|---|---|
Color | color | The color of the sphere symbol. |
Double | diameter | The diameter in meters of sphere symbol. |
Returns
Type | Description |
---|---|
SimpleMarkerSceneSymbol | A SimpleMarkerSceneSymbol using a sphere style. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.3 - 100.14 |
CreateSphere(Color, Double, SceneSymbolAnchorPosition)
Creates a simple marker scene symbol with sphere style.
Declaration
public static SimpleMarkerSceneSymbol CreateSphere(Color color, double diameter, SceneSymbolAnchorPosition anchorPosition)
Parameters
Type | Name | Description |
---|---|---|
Color | color | The color of the sphere symbol. |
Double | diameter | The diameter in meters of sphere symbol. |
SceneSymbolAnchorPosition | anchorPosition | The anchor position of the sphere symbol. |
Returns
Type | Description |
---|---|
SimpleMarkerSceneSymbol | A SimpleMarkerSceneSymbol using a sphere style. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.3 - 100.14 |