Offset A 2D floating-point offset. Properties x(Number) – The horizontal offset. y(Number) – The vertical offset. Methods copy – Returns a copy of this object with the specified properties overridden. Properties# 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.