In This Article

IColorRamp Interface

Provides the base requirements for color ramp.

public interface IColorRamp

Properties

Base

The base (middle) IColorRampShade in the color ramp.

IColorRampShade Base { get; }

Property Value

IColorRampShade

Darkest

The darkest IColorRampShade in the color ramp.

IColorRampShade Darkest { get; }

Property Value

IColorRampShade

FamilyName

A ColorFamilyName value that specifies the color family name.

ColorFamilyName FamilyName { get; }

Property Value

ColorFamilyName

this[ShadeName]

The IColorRampShade in the color ramp with the specified ShadeName.

IColorRampShade this[ShadeName shadeName] { get; }
Parameter Type Description
shadeName ShadeName

The ShadeName that specifies the desired shade.

Property Value

IColorRampShade

Name

The color ramp name, which is often the same as the ColorFamilyName.

string Name { get; }

Property Value

string

Methods

GetShade(int)

The IColorRampShade for the specified shade number.

IColorRampShade GetShade(int shadeNumber)
Parameter Type Description
shadeNumber int

The shade number (0..1000).

Returns

IColorRampShade

Extension Methods