22#include <kiwano/render/Shape.h>
43 const Rect& GetClipRect()
const;
47 float GetOpacity()
const;
55 const Matrix3x2& GetMaskTransform()
const;
59 void SetClipRect(
const Rect& rect);
63 void SetOpacity(
float opacity);
71 void SetMaskTransform(
const Matrix3x2& matrix);
99 return mask_transform_;
119 mask_transform_ = matrix;
void SetMaskShape(RefPtr< Shape > mask)
设置几何蒙层
Definition: Layer.h:112
RefPtr< Shape > GetMaskShape() const
获取几何蒙层
Definition: Layer.h:92
const Matrix3x2 & GetMaskTransform() const
获取几何蒙层变换
Definition: Layer.h:97
void SetMaskTransform(const Matrix3x2 &matrix)
设置几何蒙层变换
Definition: Layer.h:117
float GetOpacity() const
获取图层透明度
Definition: Layer.h:87
void SetClipRect(const Rect &rect)
设置图层裁剪区域
Definition: Layer.h:102
const Rect & GetClipRect() const
获取图层裁剪区域
Definition: Layer.h:82
void SetOpacity(float opacity)
设置图层透明度
Definition: Layer.h:107
含有本地指针的对象
Definition: NativeObject.hpp:32
引用计数智能指针
Definition: RefBasePtr.hpp:35