OEColorStop

class OEColorStop

The OEColorStop class stores a color (OEColor) and value (double) pair that is used by the color gradient classes.

Constructors

OEColorStop(value: float, color: OEColor) -> OEColorStop

Default constructor.

OEColorStop(rhs: OEColorStop) -> OEColorStop

Copy constructor.

GetColor

GetColor() -> OEColor

Returns the OEColor stored in the OEColorStop object.

GetValue

GetValue() -> float

Returns the value stored in the OEColorStop object.