Skip to main content Link Menu Expand (external link) Document Search Copy Copied

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Symbols

SimpleLineSymbol Class

SimpleLineSymbol is used for rendering 2D polyline geometries in a 2D MapView. SimpleLineSymbol is also used for
rendering outlines for marker symbols and fill symbols.

ArcGIS
  
JS API

</a>

public class SimpleLineSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.LineSymbol,
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol>

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Symbol 🡒 LineSymbol 🡒 SimpleLineSymbol

Derived
↳ Outline

Implements System.IEquatable<SimpleLineSymbol>

Constructors

SimpleLineSymbol() Constructor

Parameterless constructor for using as a razor component

public SimpleLineSymbol();

SimpleLineSymbol(MapColor, Nullable, Nullable) Constructor

Constructs a new SimpleLineSymbol in code with parameters

public SimpleLineSymbol(dymaptic.GeoBlazor.Core.Objects.MapColor? color=null, System.Nullable<double> width=null, System.Nullable<dymaptic.GeoBlazor.Core.Components.Symbols.LineStyle> lineStyle=null);

Parameters

color MapColor

The color of the line symbol.

width System.Nullable<System.Double>

The width of the line symbol in points.

lineStyle System.Nullable<LineStyle>

The line style.

Properties

SimpleLineSymbol.LineStyle Property

Specifies the line style.

public System.Nullable<dymaptic.GeoBlazor.Core.Components.Symbols.LineStyle> LineStyle { get; set; }

Property Value

System.Nullable<LineStyle>

SimpleLineSymbol.Type Property

The symbol type

public override string Type { get; }

Property Value

System.String

Methods

SimpleLineSymbol.Equals(object) Method

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj);

Parameters

obj System.Object

The object to compare with the current object.

Returns

System.Boolean
true if the specified object is equal to the current object; otherwise, false.

SimpleLineSymbol.GetHashCode() Method

Serves as the default hash function.

public override int GetHashCode();

Returns

System.Int32
A hash code for the current object.

Operators

SimpleLineSymbol.operator ==(SimpleLineSymbol, SimpleLineSymbol) Operator

Compares two SimpleLineSymbols for equality

public static bool operator ==(dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? left, dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? right);

Parameters

left SimpleLineSymbol

right SimpleLineSymbol

Returns

System.Boolean

SimpleLineSymbol.operator !=(SimpleLineSymbol, SimpleLineSymbol) Operator

Compares two SimpleLineSymbols for inequality

public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? left, dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? right);

Parameters

left SimpleLineSymbol

right SimpleLineSymbol

Returns

System.Boolean