Represents a position (x,y)

(PHP 7, UI 0.9.9)

소개

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

클래스 개요

final 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 ( void )
public float getY ( void )
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

Table of Contents

add a note add a note

User Contributed Notes

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