主题
Rotate
Rotation configuration of an object.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
angle | Number | required | The rotation in clockwise radians. |
alignment | Optional[Alignment] | None | The alignment of the rotation. |
origin | Optional['Offset'] | None | The origin of the coordinate system (relative to the upper left corner), in logical pixels. |
transform_hit_tests | bool | True | Whether to apply the transformation when performing hit tests. |
filter_quality | Optional['FilterQuality'] | None | The filter quality with which to apply this transform as a bitmap operation. |
方法
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
copy | 'Rotate' | — | 返回此对象的副本,可覆盖指定属性。 |