PHP: UI\Point::at - Manual (original) (raw)

Change language:

(UI 1.0.2)

UI\Point::at — Size 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

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug

+add a note

User Contributed Notes

There are no user contributed notes for this page.