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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |