C
Qul::PlatformInterface::GradientStop Class
class Qul::PlatformInterface::GradientStop表示渐变中的单个渐变停点。更多...
| Header: | #include <platforminterface/drawingengine.h> |
| Since: | Qt Quick Ultralite (Platform) 2.7 |
公共函数
| GradientStop() | |
| GradientStop(float position, Qul::PlatformInterface::Rgba32 color) | |
| Qul::PlatformInterface::Rgba32 | color() const |
| float | position() const |
成员函数文档
GradientStop::GradientStop()
创建一个默认的Qul::PlatformInterface::GradientStop 实例,其位置设置为0,颜色设置为透明。
GradientStop::GradientStop(float position, Qul::PlatformInterface::Rgba32 color)
根据给定的position 和color ,构建一个Qul::PlatformInterface::GradientStop 实例。
Qul::PlatformInterface::Rgba32 GradientStop::color() const
返回渐变停点的颜色。
float GradientStop::position() const
返回渐变停点的位置。
在某些 Qt 许可下可用。
了解更多信息。