PHP 8.1.0 RC 2 available for testing

UI\Point::at

(UI 1.0.2)

UI\Point::atSize Coercion

说明

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

参数

point

The value for x and y

size

The Size to convert

返回值

The resulting Point

add a note add a note

User Contributed Notes

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