Represents a position (x,y)

(PHP 7, UI 0.9.9)

Introducere

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

Sinopsisul clasei

final UI\Point {
/* Proprietăți */
public $x ;
public $y ;
/* Constructor */
public __construct ( float $x , float $y )
/* Metode */
public static at ( float $point ) : UI\Point
public static at ( UI\Size $size ) : UI\Point
public getX ( void ) : float
public getY ( void ) : float
public setX ( float $point )
public setY ( float $point )
}

Proprietăți

x

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

y

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

Cuprins