Rhino C++ API
8.13
|
#include <opennurbs_color.h>
Public Member Functions | |
ON_ColorStop ()=default | |
ON_ColorStop (const ON_Color &color, double position) | |
bool | Read (class ON_BinaryArchive &archive) |
bool | Write (class ON_BinaryArchive &archive) const |
Public Attributes | |
ON_Color | m_color = ON_Color::UnsetColor |
double | m_position = 0 |
Class ON_ColorStop
Combination of a color and a single value. Typically used for defining gradient fills over a series of colors.
|
default |
ON_ColorStop::ON_ColorStop | ( | const ON_Color & | color, |
double | position | ||
) |
bool ON_ColorStop::Read | ( | class ON_BinaryArchive & | archive | ) |
bool ON_ColorStop::Write | ( | class ON_BinaryArchive & | archive | ) | const |
ON_Color ON_ColorStop::m_color = ON_Color::UnsetColor |
double ON_ColorStop::m_position = 0 |