IColorRamp Interface
Provides the base requirements for color ramp.
public interface IColorRamp
Properties
Base
The base (middle) IColorRampShade in the color ramp.
Darkest
The darkest IColorRampShade in the color ramp.
FamilyName
A ColorFamilyName value that specifies the color family name.
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
Name
The color ramp name, which is often the same as the ColorFamilyName.
Methods
GetShade(int)
The IColorRampShade for the specified shade number.
IColorRampShade GetShade(int shadeNumber)
| Parameter | Type | Description |
|---|---|---|
| shadeNumber | int | The shade number (0..1000). |