dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

OpacityRampStop Class

Describes the schema of the OpacityRampStop element.
ArcGIS Maps SDK for JavaScript

public class OpacityRampStop : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 OpacityRampStop

Constructors

OpacityRampStop() Constructor

Parameterless constructor for use as a Razor Component.

public OpacityRampStop();

OpacityRampStop(MapColor, string, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public OpacityRampStop(dymaptic.GeoBlazor.Core.Model.MapColor? color=null, string? label=null, System.Nullable<double> value=null);

Parameters

color MapColor

The color of the visual variable stop.
ArcGIS Maps SDK for JavaScript

label System.String

The label in the legend describing features with the given color and value.
ArcGIS Maps SDK for JavaScript

value System.Nullable<System.Double>

The value of the opacity visual variable stop.
ArcGIS Maps SDK for JavaScript

Properties

OpacityRampStop.Color Property

The color of the visual variable stop.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.MapColor? Color { get; set; }

Property Value

MapColor

OpacityRampStop.Label Property

The label in the legend describing features with the given color and value.
ArcGIS Maps SDK for JavaScript

public string? Label { get; set; }

Property Value

System.String

OpacityRampStop.Value Property

The value of the opacity visual variable stop.
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Value { get; set; }

Property Value

System.Nullable<System.Double>

Methods

OpacityRampStop.GetColor() Method

Asynchronously retrieve the current value of the Color property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor?> GetColor();

Returns

System.Threading.Tasks.Task<MapColor>

OpacityRampStop.GetLabel() Method

Asynchronously retrieve the current value of the Label property.

public System.Threading.Tasks.Task<string?> GetLabel();

Returns

System.Threading.Tasks.Task<System.String>

OpacityRampStop.GetValue() Method

Asynchronously retrieve the current value of the Value property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetValue();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

OpacityRampStop.SetColor(MapColor) Method

Asynchronously set the value of the Color property after render.

public System.Threading.Tasks.Task SetColor(dymaptic.GeoBlazor.Core.Model.MapColor? value);

Parameters

value MapColor

The value to set.

Returns

System.Threading.Tasks.Task

OpacityRampStop.SetLabel(string) Method

Asynchronously set the value of the Label property after render.

public System.Threading.Tasks.Task SetLabel(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

OpacityRampStop.SetValue(Nullable) Method

Asynchronously set the value of the Value property after render.

public System.Threading.Tasks.Task SetValue(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task