UI UI\Size
(UI 0.9.9)
소개
크기는 UI 전체에서 화면, 컨트롤 또는 영역의 크기를 나타내는 데 사용됩니다.
클래스 개요
final class UI\Size {
/* Properties */
public $width;
public $height;
/* Constructor */
public __construct(float $width, float $height)
/* Methods */
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)
}
Properties
- width
- 너비 유지, 직접 읽기/쓰기 가능
- height
- 높이 유지, 직접 읽기/쓰기 가능
목차
- 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