PHP 8.1.31 Released!

UI\Point::at

(UI 1.0.2)

UI\Point::atSize Coercion

Description

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

Shall return a UI\Point object where x and y are equal to those supplied, either in float or UI\Size form

Parameters

point

The value for x and y

size

The Size to convert

Return Values

The resulting Point

add a note

User Contributed Notes

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