Offset A 2D floating-point offset. Properties distance(float) – The magnitude of the offset. x(Number) – The horizontal offset. y(Number) – The vertical offset. Methods copy – Returns a copy of this object with the specified properties overridden. Properties# distance property # distance: float The magnitude of the offset. x class-attribute instance-attribute # x: Number = 0 The horizontal offset. y class-attribute instance-attribute # y: Number = 0 The vertical offset. Methods# copy # copy( *, x: Number | None = None, y: Number | None = None ) -> Offset Returns a copy of this object with the specified properties overridden.