Skip To Content ArcGIS for Developers Sign In Dashboard

SolidStrokeSymbolLayer QML Type

A class for line symbol layers with customized geometric effects. More...

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

StrokeSymbolLayer

Properties

Signals

Detailed Description

Currently it only supports dash effect. This class is commonly used to represent line symbols to describe the appearance of the line, or in polygon symbols as an outline.

A SolidStrokeSymbolLayer represents a polyline geometry symbolized with a solid color.

This symbol layer, in a MultilayerPolylineSymbol alone, colors the geometry of the line with the specified solid color. The class also allows setting a collection of geometric effects, which modify the stroke in various ways (see documentation for geometric effects).

The SolidStrokeSymbolLayer provides a similar user experience to the SimpleLineSymbol, but, since it is a symbol layer, can be used in a MultilayerSymbol. The simple line styles of the SimpleLineSymbol are represented here by the DashGeometricEffect, but all dash patterns are custom. A solid stroke symbol layer in a multilayer polygon symbol will act as the outline of the fill.

Note: The units used for width is DIPs, except when lineStyle3D is Enums.StrokeSymbolLayerLineStyle3DTube which uses meters.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
GeometricEffectgeometricEffects (appends to model)

Property Documentation

color : color

Returns the color of the solid stroke symbol layer.

The default color is opaque black, RGBA(0, 0, 0, 255).

Note: this property can only be modified if the symbol layer is not color locked.

See also SymbolLayer::colorLocked.


geometricEffects : GeometricEffectListModel

Returns the geometric effects as a modifiable list model.


Signal Documentation

colorChanged()

Emitted when the color property changes.


geometricEffectsChanged()

Emitted when the geometricEffects property changes.



Feedback on this topic?