cylinder

fun cylinder(color: Color, diameter: Double, height: Double, anchorPosition: SceneSymbolAnchorPosition = SceneSymbolAnchorPosition.Bottom): SimpleMarkerSceneSymbol

Creates a simple marker scene symbol with cylinder style.

Return

A SimpleMarkerSceneSymbol.

Since

200.1.0

Parameters

color

The color of the symbol.

diameter

The diameter in meters of base of the cylinder symbol.

height

The height in meters of the cylinder symbol.

anchorPosition

The anchor position SceneSymbolAnchorPosition of the cube symbol.

Throws

if height is not a positive or valid number