layout: default title: MultipartColorRamp parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps

MultipartColorRamp 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 MultipartColorRamp : dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps.ColorRamp

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

Constructors

MultipartColorRamp() Constructor

Constructor for use in code

public MultipartColorRamp();

MultipartColorRamp(List) Constructor

Constructor for use in code

public MultipartColorRamp(System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps.AlgorithmicColorRamp>? colorRamps);

Parameters

colorRamps System.Collections.Generic.List<AlgorithmicColorRamp>

Properties

MultipartColorRamp.ColorRamps Property

Define an array of algorithmic color ramps used to generate the multi part ramp.

public System.Collections.Generic.List<dymaptic.GeoBlazor.Core.Components.Renderers.ColorRamps.AlgorithmicColorRamp>? ColorRamps { get; set; }

Property Value

System.Collections.Generic.List<AlgorithmicColorRamp>

MultipartColorRamp.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

Methods

MultipartColorRamp.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

MultipartColorRamp.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.