Rotate
Rotation configuration of an object.
Properties
-
alignment(Alignment | None) –The alignment of the rotation.
-
angle(Number) –The rotation in clockwise radians.
-
filter_quality(FilterQuality | None) –The filter quality with which to apply this transform as a bitmap operation.
-
origin(Offset | None) –The origin of the coordinate system (relative to the upper left corner),
-
transform_hit_tests(bool) –Whether to apply the transformation when performing hit tests.
Methods
-
copy–Returns a copy of this object with the specified properties overridden.
Properties#
alignment
class-attribute
instance-attribute
#
alignment: Alignment | None = None
The alignment of the rotation.
filter_quality
class-attribute
instance-attribute
#
filter_quality: FilterQuality | None = None
The filter quality with which to apply this transform as a bitmap operation.
origin
class-attribute
instance-attribute
#
origin: Offset | None = None
The origin of the coordinate system (relative to the upper left corner), in logical pixels.
transform_hit_tests
class-attribute
instance-attribute
#
transform_hit_tests: bool = True
Whether to apply the transformation when performing hit tests.