Show / Hide Table of Contents

Class SimpleLineSymbol

Creates a simple line symbol object with default values.

Inheritance
System.Object
Symbol
LineSymbol
SimpleLineSymbol
Implements
System.ComponentModel.INotifyPropertyChanged
LineSymbol.Color
LineSymbol.Width
LineSymbol.AntiAlias
Symbol.PropertyChanged
Symbol.FromJson(String)
Symbol.ToJson()
Symbol.Clone()
Symbol.CreateSwatchAsync(Double)
Symbol.CreateSwatchAsync(Color, Double)
Symbol.CreateSwatchAsync(Int32, Int32, Single, Color, Geometry)
Symbol.CreateSwatchAsync(Int32, Int32, Double, Color)
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 class SimpleLineSymbol : LineSymbol, INotifyPropertyChanged
Remarks

The default values are:

  • Style - Solid
  • Width - 1.0
  • Color - gray

This is useful if the properties of the symbol are only known after the application is running.

Constructors

Name Description
SimpleLineSymbol()

Initializes a new instance of the SimpleLineSymbol class.

SimpleLineSymbol(SimpleLineSymbolStyle, Color, Double)

Initializes a new instance of the SimpleLineSymbol class.

Properties

Name Description
MarkerPlacement

Gets or sets the simple line symbol end marker placement of the simple line symbol.

MarkerStyle

Gets or sets the simple line symbol end marker style of the simple line symbol.

Style

Gets or sets the Line symbol style

Methods

Name Description
ToMultilayerSymbol()

Converts a SimpleLineSymbol to a MultilayerPolylineSymbol.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Change feature layer renderer: Change the appearance of a feature layer with a renderer.
Edit and sync features: Synchronize offline edits with a feature service.
In This Article
Back to top Copyright © 2022 Esri.