Click or drag to resize

SolidStrokeSymbolLayer Class

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

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

The SolidStrokeSymbolLayer type exposes the following members.

Constructors
  NameDescription
Public methodSolidStrokeSymbolLayer
Initializes a new instance of the SolidStrokeSymbolLayer class.
Public methodSolidStrokeSymbolLayer(Double, Color)
Initializes a new instance of the SolidStrokeSymbolLayer class.Create a solid stroke symbol layer with width and color.
Public methodSolidStrokeSymbolLayer(Double, Color, IListGeometricEffect)
Initializes a new instance of the SolidStrokeSymbolLayer class with width, color and geometric effects.
Public methodSolidStrokeSymbolLayer(Double, Color, IListGeometricEffect, StrokeSymbolLayerLineStyle3D)
Initializes a new instance of the SolidStrokeSymbolLayer class with width, color, geometric effects and 3D line style.
Top
Properties
  NameDescription
Public propertyCapStyle
Gets the cap style of stroke symbol layer.
(Inherited from StrokeSymbolLayer.)
Public propertyColor
Get the color of a solid stroke symbol layer.
Public propertyGeometricEffects
Get the collection of geometric effects held by a solid 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.
(Inherited from StrokeSymbolLayer.)
Public propertyWidth
Gets the width of a stroke symbol layer.
(Inherited from StrokeSymbolLayer.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from SymbolLayer.)
Top
Remarks
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. 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 GeometricEffect.
See Also