Struct QAccelPlot::GradientStopData¶
ClassList > QAccelPlot > GradientStopData
A single color stop within a gradient definition.
#include <GradientColorTypes.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| QColor | color = {Qt::transparent}Color at this stop. |
| float | position = {0.0f}Normalized stop position in [0, 1]. |
Public Attributes Documentation¶
variable color¶
Color at this stop.
variable position¶
Normalized stop position in [0, 1].
Friends Documentation¶
friend operator!=¶
Returns true if the stops differ in position or color.
inline bool QAccelPlot::GradientStopData::operator!= (
const GradientStopData & lhs,
const GradientStopData & rhs
)
friend operator==¶
Returns true if both stops have the same position and color.
inline bool QAccelPlot::GradientStopData::operator== (
const GradientStopData & lhs,
const GradientStopData & rhs
)
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/effects/GradientColorTypes.hpp