Class CIMRandomHSVColorRamp

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents a random HSV color ramp scheme.

public class CIMRandomHSVColorRamp : CIMColorRamp
Inheritance
CIMRandomHSVColorRamp
Inherited Members

Remarks

A color ramp scheme where the colors are randomly selected within the set range of hue, saturation, and value values.

Constructors

CIMRandomHSVColorRamp()

public CIMRandomHSVColorRamp()

Properties

MaxAlpha

Gets or sets the maximum alpha or transparency for all of the colors. Can be a value between 0-100, where 0 is fully transparent.

public float MaxAlpha { get; set; }

Property Value

float

MaxH

Gets or sets the hue at which the color ramp (also known as a color scheme) will end. Values can range from 0-360.

public float MaxH { get; set; }

Property Value

float

MaxS

Gets or sets the maximum saturation possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.

public float MaxS { get; set; }

Property Value

float

MaxV

Gets or sets the maximum value possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.

public float MaxV { get; set; }

Property Value

float

MinAlpha

Gets or sets the minimum alpha or transparency for all of the colors. Can be a value between 0-100, where 0 is fully transparent.

public float MinAlpha { get; set; }

Property Value

float

MinH

Gets or sets the hue from which the color ramp (also known as a color scheme) will start. Values can range from 0-360.

public float MinH { get; set; }

Property Value

float

MinS

Gets or sets the minimum saturation possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.

public float MinS { get; set; }

Property Value

float

MinV

Gets or sets the minimum value possible for the colors within the ramp (also known as a scheme). Values can range between 0-100.

public float MinV { get; set; }

Property Value

float

Seed

Gets or sets the starting point for the random generation of the colors.

public int Seed { get; set; }

Property Value

int

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMRandomHSVColorRamp with a specified state from a JSON encoding.

public static CIMRandomHSVColorRamp FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMRandomHSVColorRamp state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMRandomHSVColorRamp

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMRandomHSVColorRamp and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string