Size


super: Object

Represents a two-dimensional size.

Properties

  • var width: Float width field.

  • var height: Float height field.

  • var objectName: String The name of the object.

Constructors

  • func Size(width: Float, height: Float) Create a new Size object.

Methods

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