Represents a position (x,y)

はじめに

Points are used throughout UI to represent co-ordinates on a screen, control, or area.

クラス概要

UI\Point
final class UI\Point {
/* プロパティ */
public $x;
public $y;
/* Constructor */
public __construct(float $x, float $y)
/* メソッド */
public static UI\Point at(float $point)
public static UI\Point at(UI\Size $size)
public float getX()
public float getY()
public setX(float $point)
public setY(float $point)
}

プロパティ

x

Holds the X co-ordinate, can be read/written directly

y

Holds the Y co-ordinate, can be read/written directly

目次