Offset


super: Object

Represents an offset.

Properties

  • var horizontal: Float horizontal field.

  • var vertical: Float vertical field.

Initializers

  • func Offset(horizontal: Float, vertical: Float) Create a new Offset object.

Methods

  • func copy(): Offset Copy a Offset object by value (duplicate).