StrokeSymbolLayer

A StrokeSymbolLayer represents a symbol layer that, when applied to a polyline geometry, draws a stroke along that geometry. The StrokeSymbolLayer can also control drawing the outline of a polygon geometry. Applied to a polyline geometry, the StrokeSymbolLayer will draw a segment of stroke adhering to the selected visual properties for each line segment. Similarly, as the outline of a polygon geometry, the StrokeSymbolLayer draws a stroke segment for each line segment of the polygon outline.

This symbol layer controls many common operations vital for working with strokes. Cap style and line style 3D are controllable on the StrokeSymbolLayer. These properties provide the ability to pick between various options for rendering strokes. Line style 3D applies only in 3D, but cap style and width have effects in both 2D and 3D.

Since

200.1.0

Inheritors

Properties

Link copied to clipboard

The cap style of stroke symbol layer. The default cap style is 'round,' meaning that the ends of the stroke are rounded off. Cap styles affect strokes in Map Views, as well as the 'strip' and 'tube' line styles in Scene Views.

Link copied to clipboard

The 3D line style of the stroke symbol layer. The 3D line style controls the rendering of the stroke in 3D. As a consequence of that, 3D line style has no effect on strokes in Map Views, but does affect strokes in Scene Views.

Link copied to clipboard

The width of the stroke symbol layer. The return value may be any non-negative number (default is 0). A larger width means a larger stroke.

Inherited properties

Link copied to clipboard

The symbol layer color locked property. The color-locked status of the symbol layer. If color_locked is true, the color of that layer will not change.

Link copied to clipboard

The symbol layer enabled property. The enable status of the symbol layer. Layer will be rendered only if it is enabled.

Functions

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

Clones the StrokeSymbolLayer.