diamond

fun diamond(color: Color, size: Double, height: Double, anchorPosition: SceneSymbolAnchorPosition = SceneSymbolAnchorPosition.Bottom): SimpleMarkerSceneSymbol

Creates a simple marker scene symbol with diamond style.

Return

A SimpleMarkerSceneSymbol.

Since

200.1.0

Parameters

color

The color of the symbol.

size

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

height

The height in meters of the diamond symbol.

anchorPosition

The anchor position SceneSymbolAnchorPosition of the cube symbol.

Throws

if size is not a positive or valid number