Php/docs/class.ui-size

提供:Dev Guides
< Php
移動先:案内検索

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

}

プロパティ

width
Holds the width, can be read/written directly
height
Holds the height, can be read/written directly


目次