PHP Conference Nagoya 2025

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

final class UI\Size {
/* Özellikler */
public $width;
public $height;
/* Constructor */
public __construct(float $width, float $height)
/* Yöntemler */
public getHeight(): float
public getWidth(): float
public static of(float $size): UI\Size
public static of(UI\Point $point): UI\Size
public setHeight(float $size)
public setWidth(float $size)
}

Özellikler

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

İçindekiler

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top