PHP 8.4.6 Released!

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 __construct(float $width, float $height)
/* Métodos */
public getHeight(): float
public getWidth(): float
public static of(float $size): UI\Size
public static of(UI\Point $point): UI\Size
public setHeight(float $size)
public 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