MultilayerMeshSymbol

A mesh symbol built with a material fill symbol layer to display 3D objects in an ArcGISSceneLayer in a SceneView. Only SimpleRenderer, UniqueValueRenderer, and ClassBreaksRenderer can be created from a collection of MultilayerMeshSymbol. To symbolize 3D objects, apply the render to ArcGISSceneLayer.

Since

200.5.0

See also

Constructors

Link copied to clipboard
constructor(symbolLayer: MaterialFillSymbolLayer)

Creates a multilayer mesh symbol object with a given MaterialFillSymbolLayer.

Inherited properties

Link copied to clipboard

The consensus color of all layers in the symbol (excluding those that are color-locked). A MultilayerSymbol may have many symbol layers. This property represents the value of all color and tint color properties of constituent symbol layers, excluding any StrokeSymbolLayer in a MultilayerPolygonSymbol, as those symbol layers are outlines. The property defines the color and tint color of symbols contained in VectorMarkerSymbolElement. Constituent symbol layers whose colorLocked property is true do not change color as a result of this function. To change outline colors, modify the outline symbol layer colors individually.

Link copied to clipboard

The properties change how the multilayer symbol behaves when attached to a renderer.

Link copied to clipboard

The symbol layers of the multilayer symbol. Symbol layers in a multilayer symbol are in reverse order of how they appear in the JSON representation from the server.

Functions

Link copied to clipboard
open override fun clone(): MultilayerMeshSymbol

Inherited functions

Link copied to clipboard
suspend fun createSwatch(screenScale: Float, width: Float? = null, height: Float? = null, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol. This method will scale the symbol up or down in order to fit it in to the desired width and height of the swatch.

suspend fun createSwatch(screenScale: Float, width: Float, height: Float, geometry: Geometry, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.