22#include <kiwano/platform/NativeObject.hpp>
23#include <kiwano/render/Color.h>
24#include <kiwano/render/Texture.h>
113 void SetColor(
const Color& color);
129 void SetTransform(
const Transform& transform);
133 void SetTransform(
const Matrix3x2& transform);
149 Type GetType()
const;
Type GetType() const
获取画刷类型
Definition: Brush.h:157
Type
画刷类型
Definition: Brush.h:139
含有本地指针的对象
Definition: NativeObject.hpp:32
引用计数智能指针
Definition: RefBasePtr.hpp:35
纹理
Definition: Texture.h:64
GradientExtendMode
渐变扩充模式
Definition: Brush.h:50
渐变转换点
Definition: Brush.h:37
float offset
偏移距离
Definition: Brush.h:38
Color color
渐变点颜色
Definition: Brush.h:39
线性渐变样式
Definition: Brush.h:59
GradientExtendMode extend_mode
渐变扩充模式
Definition: Brush.h:63
Point begin
渐变起始点
Definition: Brush.h:60
Point end
渐变终止点
Definition: Brush.h:61
Vector< GradientStop > stops
渐变转换点集合
Definition: Brush.h:62
径向渐变样式
Definition: Brush.h:74
Vector< GradientStop > stops
渐变转换点集合
Definition: Brush.h:78
Point center
径向渐变圆心
Definition: Brush.h:75
Vec2 radius
径向渐变半径
Definition: Brush.h:77
Vec2 offset
径向渐变偏移
Definition: Brush.h:76
GradientExtendMode extend_mode
渐变扩充模式
Definition: Brush.h:79