Show / Hide Table of Contents

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.

Inheritance
System.Object
SymbolLayer
StrokeSymbolLayer
SolidStrokeSymbolLayer
Implements
System.ComponentModel.INotifyPropertyChanged
StrokeSymbolLayer.CapStyle
StrokeSymbolLayer.LineStyle3D
StrokeSymbolLayer.Width
SymbolLayer.IsColorLocked
SymbolLayer.IsEnabled
SymbolLayer.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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

TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
In This Article
Back to top Copyright © 2022 Esri.