OEColorStop

class OEColorStop

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

Constructors

OEColorStop(double value, const OEColor& color)

Default constructor.

OEColorStop(const OEColorStop& rhs)

Copy constructor.

GetColor

const OEColor& GetColor() const

Returns the OEColor stored in the OEColorStop object.

GetValue

double GetValue() const

Returns the value stored in the OEColorStop object.