Represents dimensions (width, height)

はじめに

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

クラス概要

UI\Size
final class UI\Size {
/* プロパティ */
public $width;
public $height;
/* Constructor */
public __construct(float $width, float $height)
/* メソッド */
public float getHeight()
public float getWidth()
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

目次