Represents dimenstions (width, height)

(PHP 7, UI 0.9.9)

Introducere

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

Sinopsisul clasei

final UI\Size {
/* Proprietăți */
public $width ;
public $height ;
/* Constructor */
public __construct ( float $width , float $height )
/* Metode */
public getHeight ( void ) : float
public getWidth ( void ) : float
public static of ( float $size ) : UI\Size
public static of ( UI\Point $point ) : UI\Size
public setHeight ( float $size )
public setWidth ( float $size )
}

Proprietăți

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

Cuprins