本页内容

C

Qul::PlatformInterface::GradientStops Class

class Qul::PlatformInterface::GradientStops

表示一组用于定义渐变颜色过渡的停点。更多...

Header: #include <platforminterface/drawingengine.h>
Since: Qt Quick Ultralite (Platform) 2.7

公共函数

GradientStops()
void addStop(Qul::PlatformInterface::GradientStop stop)
size_t size() const
const Qul::PlatformInterface::GradientStop *stops() const

详细说明

成员函数文档

GradientStops::GradientStops()

构建一个不包含任何停止点的默认Qul::PlatformInterface::GradientStops 实例。

void GradientStops::addStop(Qul::PlatformInterface::GradientStop stop)

将stop 添加到渐变停点列表中。

另请参阅 stops()。

size_t GradientStops::size() const

返回渐变停点的数量。

另请参阅 stops()。

const Qul::PlatformInterface::GradientStop *GradientStops::stops() const

返回指向渐变停点数组的指针。该数组包含由 `size()` 报告的元素个数。

注意:该 指针仅在Qul::PlatformInterface::GradientStop 对象有效且未向其中添加新的渐变停点时才有效。

另请参阅 size()。

在某些 Qt 许可证下可用。
了解更多。