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: FilterQuality | None = 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: Number | None = None,
y: Number | None = None,
transform_hit_tests: bool | None = None,
filter_quality: FilterQuality | None = None,
) -> OffsetReturns a copy of this object with the specified properties overridden.