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