Skip To Content ArcGIS for Developers Sign In Dashboard

SymbolLayer QML Type

A base class to represent symbol layers, which are the fundamental components used to build multilayer symbols. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.5


Inherited By:

FillSymbolLayer, MarkerSymbolLayer, and StrokeSymbolLayer




Detailed Description

The available symbol layer types correspond to the primitive geometry they are designed to render: marker layers for point, stroke layers for line, and fill layers for area. Layer types, however, are not applied exclusively to the corresponding geoelement geometry type. A marker symbol layer, for example, could be applied to a polyline feature to render its vertices. Each layer type has a unique set of properties to control its display.

A symbol can contain one or several symbol layers of the same or different type. A symbol used to render polygons, for example, might contain a fill symbol layer to render the polygon interior, a stroke symbol layer for rendering the polygon outline, and a marker symbol layer to render polygon vertices. A symbol to render a polyline might contain several stroke layers of varying widths. If a symbol contains a layer that cannot render the type of geometry to which it is applied, that symbol layer is ignored when rendering.

Property Documentation

colorLocked : bool

Returns if the symbol layer is color locked.

Any symbol layer that is color locked will not change color when the symbol color is changed. However, changing the color of the symbol layer directly would change the color of the symbol layer irrespective of the property value.

enabled : bool

Returns if the symbol layer is enabled.

A symbol layer will only be rendered if it is enabled.

symbolLayerType : Enums.SymbolLayerType

Returns the symbol layer type.

See also Enums.SymbolLayerType.

Signal Documentation


Emitted when the colorLocked property changes.

Note: The corresponding handler is onColorLockedChanged.


Emitted when the enabled property changes.

Note: The corresponding handler is onEnabledChanged.

Method Documentation

bool equals(symbolLayer)

Returns whether the provided symbolLayer is equal to this SymbolLayer.

Feedback on this topic?