Represents dimensions (width, height)

(UI 0.9.9)

Introducción

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

Sinopsis de la Clase

finalclassUI\Size {
public$width;
public$height;
public__construct(float$width, float$height)
publicgetHeight(): float
publicgetWidth(): float
publicstaticof(float$size): UI\Size
publicstaticof(UI\Point$point): UI\Size
publicsetHeight(float$size)
publicsetWidth(float$size)
}

Propiedades

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

Tabla de contenidos

To Top