Updated PHP Windows builds for Brotli security fix

Représente des dimensions (largeur, hauteur)

(UI 0.9.9)

Introducción

Los tamaños se utilizan en toda la interfaz de usuario para representar el tamaño de una pantalla, control o zona.

Sinopsis de la clase

final class UI\Size {
/* Propiedades */
public $width;
public $height;
/* Constructor */
public function __construct(float $width, float $height)
/* Métodos */
public function getHeight(): float
public function getWidth(): float
public static function of(float $size): UI\Size
public static function of(UI\Point $point): UI\Size
public function setHeight(float $size)
public function setWidth(float $size)
}

Propiedades

width

Contiene la anchura, se puede leer/escribir directamente

height

Contiene la altura, 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