Representa una posición (x,y)

(UI 0.9.9)

Introducción

Los puntos se utilizan en toda la interfaz de usuario para representar coordenadas en una pantalla, control o zona.

Sinopsis de la Clase

final class UI\Point {
/* Propiedades */
public $x;
public $y;
/* Constructor */
public __construct(float $x, float $y)
/* Métodos */
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)
}

Propiedades

x

Contiene la coordenada X, se puede leer/escribir directamente

y

Contiene la coordenada Y, se puede leer/escribir directamente

Tabla de contenidos

add a note

User Contributed Notes

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