Skip To Content ArcGIS for Developers Sign In Dashboard

MultilayerPolygonSymbol QML Type

A multi-layer polygon symbol. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.2
Inherits:

MultilayerSymbol

Properties

Signals

Detailed Description

This is a polygon symbol with multiple layers. Each layer has its own properties like width, height, and offset, that can be combined to create polygon symbols with special effects (a polygon with a marker in the center, for example). These symbols are rendered with polygon geometry.

Note: Symbol layers in a multilayer symbol are in reverse order of how they appear in the JSON representation.

// in this multilayer symbol pseudocode json, the 'symbolLayers' ordered list of symbol
// layers contains a solid stroke symbol layer followed by a solid fill symbol layer.
{ "symbolLayers": [{"type": "CIMSolidStroke", "color": "black"},{"type": "CIMSolidFill", "color": "red"}],"type": "CIMPolygonSymbol" }

// this is the solid fill symbol layer, the reverse order from the json representation
var symbolLayerIndexZero = multilayerSymbol.symboLayers.get(0); // red fill in the image below

// this is the solid stroke symbol layer, the reverse order from the json representation
var symbolLayerIndexOne = multilayerSymbol.symboLayers.get(1); // black outline in the image below

"MultilayerPolygon symbol"

Multilayer symbol consisting of two layers.

Property Documentation

initSimpleFillSymbol : SimpleFillSymbol

A SimpleFillSymbol that can be used to instantiate this MultilayerPolygonSymbol.

This property can only be assigned during instantiation, and only set once. Any changes made to this property after initial assignment will not be reflected in the MultilayerPolygonSymbol.

Note: This is a convenience property only and equivalent to calling SimpleFillSymbol.toMultilayerSymbol() to create this object.

This QML property was introduced in Esri.ArcGISRuntime 100.5.


Signal Documentation

initSimpleFillSymbolChanged()

Emitted when the initSimpleFillSymbol property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.5.



Feedback on this topic?