Class SolidStrokeSymbolLayer
A class for stroke symbol layers with customized geometric effects. Currently it supports only dash effects. Commonly used in line symbols to describe the appearance of the line, or in polygon symbols as an outline.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SolidStrokeSymbolLayer : StrokeSymbolLayer, INotifyPropertyChanged
Remarks
A SolidStrokeSymbolLayer represents a polyline geometry symbolized with a solid color.
This symbol layer, in a MultilayerPolylineSymbol, 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 GeometricEffect).
The SolidStrokeSymbolLayer is used to represent the Web Scene specification's LineSymbol3DLayer and PathSymbol3DLayer. LineSymbol3DLayer maps to the 'strip' 3D line style of SolidStrokeSymbolLayer, and PathSymbol3DLayer maps to the 'tube' 3D line style.
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.
Constructors
Name | Description |
---|---|
SolidStrokeSymbolLayer() | Initializes a new instance of the SolidStrokeSymbolLayer class. |
SolidStrokeSymbolLayer(Double, Color) | Initializes a new instance of the SolidStrokeSymbolLayer class.Create a solid stroke symbol layer with width and color. |
SolidStrokeSymbolLayer(Double, Color, IList<GeometricEffect>) | Initializes a new instance of the SolidStrokeSymbolLayer class with width, color and geometric effects. |
SolidStrokeSymbolLayer(Double, Color, IList<GeometricEffect>, StrokeSymbolLayerLineStyle3D) | Initializes a new instance of the SolidStrokeSymbolLayer class with width, color, geometric effects and 3D line style. |
Properties
Name | Description |
---|---|
Color | Gets or sets the color of a solid stroke symbol layer. |
GeometricEffects | Gets the collection of geometric effects held by a solid stroke symbol layer. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.15 |