(PHP 7, UI 1.0.2)
UI\Size::of — Point Coercion
$size
) : UI\Size$point
) : UI\SizeShall return a UI\Size object where width and height are equal to those supplied, either in float or UI\Point form
sizeThe value for width and height
pointThe Point to convert
The resulting Size