Size


super: Object

Represents a two-dimensional size.

Properties

  • var width: Float width field.

  • var height: Float height field.

Initializers

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

Methods

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