UI
PHP Manual

Represents dimenstions (width, height)

(PHP 7, UI 0.9.9)

Введение

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

Обзор классов

final UI\Size {
/* Свойства */
public $width ;
public $height ;
/* Constructor */
public __construct ( float $width , float $height )
/* Методы */
public float getHeight ( void )
public float getWidth ( void )
public static UI\Size of ( float $size )
public static UI\Size of ( UI\Point $point )
public setHeight ( float $size )
public setWidth ( float $size )
}

Свойства

width

Holds the width, can be read/written directly

height

Holds the height, can be read/written directly

Содержание


UI
PHP Manual