IColorRamp
Description
- Derived from
- Extended by
-
ColorRampBase abstract
Base interface for classes that provide a color ramp.
A color ramp has zero or more color slots, where each slot has an input coordinate and an associated color value.
Public / Methods
Transform
Transforms the input coordinate of this color ramp.
Input X-coordinates are transformed as follows:
xOut = offset + scale * xIn xIn = (xOut - offset) / scale = xOut / scale - offset / scale
where xIn
refers to the coordinate passed to the returned color ramp and xOut
is the coordinate that is passed to this color ramp.
Extensions
ToColorBuffer
2 overloads
Converts this color ramp into a color buffer with a height of one.
- See also
Converts this color ramp into a color buffer with a height of one.