Offset
A 2D floating-point offset.
Properties
distance- The magnitude of the offset.filter_quality- The filter quality with which to apply this transform as a bitmap operation.transform_hit_tests- Whether to apply the transformation when performing hit tests.x- The horizontal offset.y- The vertical offset.
Methods
copy- Returns a copy of this object with the specified properties overridden.
Properties
filter_qualityclass-attributeinstance-attribute
filter_quality: Optional[FilterQuality] = NoneThe filter quality with which to apply this transform as a bitmap operation.
transform_hit_testsclass-attributeinstance-attribute
transform_hit_tests: bool = TrueWhether to apply the transformation when performing hit tests.
Methods
copy
copy(x: Optional[Number] = None, y: Optional[Number] = None, transform_hit_tests: Optional[bool] = None, filter_quality: Optional[FilterQuality] = None)Returns a copy of this object with the specified properties overridden.