Show / Hide Table of Contents

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.

Double size

The size in meters of width and depth of the diamond symbol.

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
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.3 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.3 - 100.14

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.

Double size

The size in meters of width and depth of the diamond symbol.

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
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.3 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.3 - 100.14
In This Article
Back to top Copyright © 2021 Esri.