(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 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\Size::__construct — Construct a new Size
- UI\Size::getHeight — Retrieves Height
- UI\Size::getWidth — Retrives Width
- UI\Size::of — Point Coercion
- UI\Size::setHeight — Set Height
- UI\Size::setWidth — Set Width
/* プロパティ */