# Represents dimensions (width, height)

(UI 0.9.9)

## Einführung

Sizes are used throughout UI to represent the size of a screen, control, or area.

## Klassenbeschreibung

final class UI\Size {
/* Eigenschaften */
public $width;
public $height;
/* Constructor */
public function __construct(float `$width`, float `$height`)
/* Methoden */
public function getHeight(): float
public function getWidth(): float
public static function of(float `$size`): UI\Size
public static function of(UI\Point `$point`): UI\Size
public function setHeight(float `$size`)
public function setWidth(float `$size`)
}

## Eigenschaften

width

  Holds the width, can be read/written directly

height

  Holds the height, can be read/written directly

## Inhaltsverzeichnis

- UI\Size::__construct — Construct a new Size
- UI\Size::getHeight — Retrieves Height
- UI\Size::getWidth — Retrives Width
- UI\Size::of — Point Coercion
- UI\Size::setHeight — Set Height
- UI\Size::setWidth — Set Width

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open