Skip to content

Rotate

Rotation configuration of an object.

属性 ​

名称类型默认值说明
angleNumberrequiredThe rotation in clockwise radians.
alignmentOptional[Alignment]NoneThe alignment of the rotation.
originOptional['Offset']NoneThe origin of the coordinate system (relative to the upper left corner), in logical pixels.
transform_hit_testsboolTrueWhether to apply the transformation when performing hit tests.
filter_qualityOptional['FilterQuality']NoneThe filter quality with which to apply this transform as a bitmap operation.

方法 ​

名称类型默认值说明
copy'Rotate'—返回此对象的副本,可覆盖指定属性。

关注我,学习大模型、大数据、Python等热门技术。