phpday 2027 - Call for Papers

UI\Point::at

(UI 1.0.2)

UI\Point::at — Size Coercion

Description

public static function UI\Point::at(float $point): UI\Point
public static function 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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top