Represents dimensions (width, height)

(UI 0.9.9)

Giriş

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

Sınıf Sözdizimi

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)
}

Özellikler

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

İçindekiler

To Top