![]() |
Kiwano Engine v1.3.x
|
图层 更多...
#include <Layer.h>
Public 成员函数 | |
| Layer (const Rect &bounds, float opacity=1.f) | |
| 创建矩形图层 更多... | |
| Layer (RefPtr< Shape > mask, const Matrix3x2 &mask_transform=Matrix3x2(), float opacity=1.f, const Rect &bounds=Rect::Infinite()) | |
| 创建图层 更多... | |
Public 属性 | |
| Rect | bounds |
| float | opacity |
| RefPtr< Shape > | mask |
| Matrix3x2 | mask_transform |
图层
| kiwano::Layer::Layer | ( | const Rect & | bounds, |
| float | opacity = 1.f |
||
| ) |
创建矩形图层
| bounds | 图层边界 |
| opacity | 图层透明度 |