C
GradientStops Class
class Qul::PlatformInterface::GradientStopsRepresents a set of stop points used to define the color transitions of gradients. More...
Header: | #include <platforminterface/drawingengine.h> |
Since: | Qt Quick Ultralite (Platform) 2.7 |
Public Functions
GradientStops() | |
void | addStop(Qul::PlatformInterface::GradientStop stop) |
size_t | size() const |
const Qul::PlatformInterface::GradientStop * | stops() const |
Member Function Documentation
GradientStops::GradientStops()
Constructs a default Qul::PlatformInterface::GradientStops instance with no stop points.
void GradientStops::addStop(Qul::PlatformInterface::GradientStop stop)
Adds stop to the list of gradient stops.
See also stops().
size_t GradientStops::size() const
Returns the number of gradient stops.
See also stops().
const Qul::PlatformInterface::GradientStop *GradientStops::stops() const
Returns a pointer to the array of gradient stops. The array contains the number of elements reported by size().
Note: The pointer is only valid as long as the Qul::PlatformInterface::GradientStop object is valid, and no new gradient stops are added to it.
See also size().
Available under certain Qt licenses.
Find out more.