Click or drag to resize

StrokeSymbolLayer Class

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.
Inheritance Hierarchy

Namespace:  Esri.ArcGISRuntime.Symbology
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public abstract class StrokeSymbolLayer : SymbolLayer

The StrokeSymbolLayer type exposes the following members.

Properties
  NameDescription
Public propertyCapStyle
Gets the cap style of stroke symbol layer.
Public propertyCode exampleIsColorLocked
Get if the symbol layer is color locked.
(Inherited from SymbolLayer.)
Public propertyIsEnabled
Get if the symbol layer is enabled.
(Inherited from SymbolLayer.)
Public propertyLineStyle3D
Gets the 3D line style of the stroke symbol layer.
Public propertyWidth
Gets the width of a stroke symbol layer.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from SymbolLayer.)
Top
Remarks
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.
See Also