Offset


super: Object

Represents an offset.

Properties

  • var horizontal: Float horizontal field.

  • var vertical: Float vertical field.

  • var objectName: String The name of the object.

Constructors

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

Methods

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