layout: default title: AlgorithmicColorRamp parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps

AlgorithmicColorRamp Class

Creates a color ramp for use in a raster renderer. The algorithmic color ramp is defined by specifying two colors and the
algorithm used to traverse the intervening color spaces.
ArcGIS Maps SDK for JavaScript

public class AlgorithmicColorRamp : dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps.ColorRamp

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

Constructors

AlgorithmicColorRamp() Constructor

Constructor for use in code

public AlgorithmicColorRamp();

AlgorithmicColorRamp(Algorithm, MapColor, MapColor) Constructor

Constructor for use in code

public AlgorithmicColorRamp(dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps.Algorithm algorithm, dymaptic.GeoBlazor.Core.Objects.MapColor? fromColor=null, dymaptic.GeoBlazor.Core.Objects.MapColor? toColor=null);

Parameters

algorithm Algorithm

fromColor MapColor

toColor MapColor

Properties

AlgorithmicColorRamp.Algorithm Property

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

public dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps.Algorithm Algorithm { get; set; }

Property Value

Algorithm

AlgorithmicColorRamp.ColorRampType Property

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

Property Value

ColorRampType

AlgorithmicColorRamp.FromColor Property

The first color in the color ramp.

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

Property Value

MapColor

AlgorithmicColorRamp.ToColor Property

The last color in the color ramp.

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

Property Value

MapColor