dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Symbols
SimpleLineSymbol Class
SimpleLineSymbol is used for rendering 2D polyline geometries
in a 2D MapView.
ArcGIS Maps SDK for JavaScript
public class SimpleLineSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.LineSymbol,
dymaptic.GeoBlazor.Core.Interfaces.ISymbol2D,
dymaptic.GeoBlazor.Core.Interfaces.ISymbol2D3D,
dymaptic.GeoBlazor.Core.Interfaces.ISymbolsSymbol,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Symbol 🡒 LineSymbol 🡒 SimpleLineSymbol
Derived
↳ Outline
Implements ISymbol2D, ISymbol2D3D, ISymbolsSymbol, IMapComponent
Constructors
SimpleLineSymbol() Constructor
Parameterless constructor for use as a Razor Component.
public SimpleLineSymbol();
SimpleLineSymbol(MapColor, Dimension, Nullable, Nullable, Nullable, LineSymbolMarker, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SimpleLineSymbol(dymaptic.GeoBlazor.Core.Model.MapColor? color=null, dymaptic.GeoBlazor.Core.Model.Dimension? width=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleLineSymbolStyle> style=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.Cap> cap=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.Join> join=null, dymaptic.GeoBlazor.Core.Components.Symbols.LineSymbolMarker? marker=null, System.Nullable<double> miterLimit=null);
Parameters
color
MapColor
The color of the symbol.
default “black”
ArcGIS Maps SDK for JavaScript
width
Dimension
The width of the symbol in points.
default 0.75
ArcGIS Maps SDK for JavaScript
style
System.Nullable<SimpleLineSymbolStyle>
Specifies the line style.
default “solid”
ArcGIS Maps SDK for JavaScript
Specifies the cap style.
default “round”
ArcGIS Maps SDK for JavaScript
Specifies the join style.
default “round”
ArcGIS Maps SDK for JavaScript
marker
LineSymbolMarker
Specifies the color, style, and placement of a symbol marker on the line.
ArcGIS Maps SDK for JavaScript
miterLimit
System.Nullable<System.Double>
Maximum allowed ratio of the width of a miter join to the line width.
default 2
ArcGIS Maps SDK for JavaScript
Properties
SimpleLineSymbol.Cap Property
Specifies the cap style.
default round
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.Cap> Cap { get; set; }
Property Value
SimpleLineSymbol.Join Property
Specifies the join style.
default round
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.Join> Join { get; set; }
Property Value
SimpleLineSymbol.Marker Property
Specifies the color, style, and placement of a symbol marker on the line.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Symbols.LineSymbolMarker? Marker { get; set; }
Property Value
SimpleLineSymbol.MiterLimit Property
Maximum allowed ratio of the width of a miter join to the line width.
default 2
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MiterLimit { get; set; }
Property Value
System.Nullable<System.Double>
SimpleLineSymbol.Style Property
Specifies the line style.
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleLineSymbolStyle> Style { get; set; }
Property Value
System.Nullable<SimpleLineSymbolStyle>
SimpleLineSymbol.Type Property
The symbol type
public override dymaptic.GeoBlazor.Core.Enums.SymbolType Type { get; }
Property Value
Methods
SimpleLineSymbol.GetCap() Method
Asynchronously retrieve the current value of the Cap property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.Cap>> GetCap();
Returns
System.Threading.Tasks.Task<System.Nullable<Cap>>
SimpleLineSymbol.GetJoin() Method
Asynchronously retrieve the current value of the Join property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.Join>> GetJoin();
Returns
System.Threading.Tasks.Task<System.Nullable<Join>>
SimpleLineSymbol.GetMarker() Method
Asynchronously retrieve the current value of the Marker property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Symbols.LineSymbolMarker?> GetMarker();
Returns
System.Threading.Tasks.Task<LineSymbolMarker>
SimpleLineSymbol.GetMiterLimit() Method
Asynchronously retrieve the current value of the MiterLimit property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMiterLimit();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SimpleLineSymbol.GetStyle() Method
Asynchronously retrieve the current value of the Style property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleLineSymbolStyle>> GetStyle();
Returns
System.Threading.Tasks.Task<System.Nullable<SimpleLineSymbolStyle>>
SimpleLineSymbol.SetCap(Nullable) Method
Asynchronously set the value of the Cap property after render.
public System.Threading.Tasks.Task SetCap(System.Nullable<dymaptic.GeoBlazor.Core.Enums.Cap> value);
Parameters
value
System.Nullable<Cap>
The value to set.
Returns
SimpleLineSymbol.SetJoin(Nullable) Method
Asynchronously set the value of the Join property after render.
public System.Threading.Tasks.Task SetJoin(System.Nullable<dymaptic.GeoBlazor.Core.Enums.Join> value);
Parameters
value
System.Nullable<Join>
The value to set.
Returns
SimpleLineSymbol.SetMarker(LineSymbolMarker) Method
Asynchronously set the value of the Marker property after render.
public System.Threading.Tasks.Task SetMarker(dymaptic.GeoBlazor.Core.Components.Symbols.LineSymbolMarker? value);
Parameters
value
LineSymbolMarker
The value to set.
Returns
SimpleLineSymbol.SetMiterLimit(Nullable) Method
Asynchronously set the value of the MiterLimit property after render.
public System.Threading.Tasks.Task SetMiterLimit(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SimpleLineSymbol.SetStyle(Nullable) Method
Asynchronously set the value of the Style property after render.
public System.Threading.Tasks.Task SetStyle(System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleLineSymbolStyle> value);
Parameters
value
System.Nullable<SimpleLineSymbolStyle>
The value to set.