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