PHP 8.1.31 Released!

Represents a position (x,y)

(UI 0.9.9)

Вступ

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

Короткий огляд класу

final class UI\Point {
/* Властивості */
public $x;
public $y;
/* Constructor */
public __construct(float $x, float $y)
/* Методи */
public static at(float $point): UI\Point
public static at(UI\Size $size): UI\Point
public getX(): float
public getY(): float
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

Зміст

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top