Dutch PHP Conference 2025 - Call For Papers

UI\Size::of

(UI 1.0.2)

UI\Size::ofCoerção de ponto

Descrição

public static UI\Size::of(float $size): UI\Size
public static UI\Size::of(UI\Point $point): UI\Size

Retorna um objeto UI\Size onde largura e altura são iguais às fornecidas, na forma de ponto flutuante ou UI\Point.

Parâmetros

size

O valor para largura e altura.

point

O ponto a converter.

Valor Retornado

A dimensão resultante.

add a note

User Contributed Notes

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