# Represents a position (x,y)

(UI 0.9.9)

## Introducción

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

## 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

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

y

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

## Tabla de contenidos

- UI\Point::at — Tamaño de coerción
- UI\Point::__construct — Construye un nuevo punto
- UI\Point::getX — Recupera X
- UI\Point::getY — Recupera Y
- UI\Point::setX — Establece X
- UI\Point::setY — Establece Y