dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

AlgorithmicColorRamp Class

Creates a color ramp for use in a raster renderer.
ArcGIS Maps SDK for JavaScript

public class AlgorithmicColorRamp : dymaptic.GeoBlazor.Core.Components.ColorRamp,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 ColorRamp 🡒 AlgorithmicColorRamp

Implements IMapComponent

Constructors

AlgorithmicColorRamp() Constructor

Parameterless constructor for use as a Razor Component.

public AlgorithmicColorRamp();

AlgorithmicColorRamp(Algorithm, MapColor, MapColor) Constructor

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

public AlgorithmicColorRamp(dymaptic.GeoBlazor.Core.Enums.Algorithm algorithm, dymaptic.GeoBlazor.Core.Model.MapColor? fromColor=null, dymaptic.GeoBlazor.Core.Model.MapColor? toColor=null);

Parameters

algorithm Algorithm

The algorithm used to generate the colors between the fromColor and toColor.
ArcGIS Maps SDK for JavaScript

fromColor MapColor

The first color in the color ramp.
ArcGIS Maps SDK for JavaScript

toColor MapColor

The last color in the color ramp.
ArcGIS Maps SDK for JavaScript

Properties

AlgorithmicColorRamp.Algorithm Property

The algorithm used to generate the colors between the fromColor and toColor.

public dymaptic.GeoBlazor.Core.Enums.Algorithm Algorithm { get; set; }

Property Value

Algorithm

AlgorithmicColorRamp.FromColor Property

The first color in the color ramp.

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

Property Value

MapColor

AlgorithmicColorRamp.ToColor Property

The last color in the color ramp.

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

Property Value

MapColor

AlgorithmicColorRamp.Type Property

A string value representing the color ramp type. Possible Values:”algorithmic” “multipart”
public override dymaptic.GeoBlazor.Core.Enums.ColorRampType Type { get; }

Property Value

ColorRampType

Methods

AlgorithmicColorRamp.GetAlgorithm() Method

Asynchronously retrieve the current value of the Algorithm property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.Algorithm>> GetAlgorithm();

Returns

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

AlgorithmicColorRamp.GetFromColor() Method

Asynchronously retrieve the current value of the FromColor property.

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

Returns

System.Threading.Tasks.Task<MapColor>

AlgorithmicColorRamp.GetToColor() Method

Asynchronously retrieve the current value of the ToColor property.

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

Returns

System.Threading.Tasks.Task<MapColor>

AlgorithmicColorRamp.SetAlgorithm(Algorithm) Method

Asynchronously set the value of the Algorithm property after render.

public System.Threading.Tasks.Task SetAlgorithm(dymaptic.GeoBlazor.Core.Enums.Algorithm value);

Parameters

value Algorithm

The value to set.

Returns

System.Threading.Tasks.Task

AlgorithmicColorRamp.SetFromColor(MapColor) Method

Asynchronously set the value of the FromColor property after render.

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

Parameters

value MapColor

The value to set.

Returns

System.Threading.Tasks.Task

AlgorithmicColorRamp.SetToColor(MapColor) Method

Asynchronously set the value of the ToColor property after render.

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

Parameters

value MapColor

The value to set.

Returns

System.Threading.Tasks.Task