PHPWales 2020 - June 3rd to June 4th


(PHP 7, UI 1.0.2)

UI\Size::ofPoint Coercion


public static UI\Size::of ( float $size ) : UI\Size
public static UI\Size::of ( UI\Point $point ) : UI\Size

Shall return a UI\Size object where width and height are equal to those supplied, either in float or UI\Point form

Liste de param├Ętres


The value for width and height


The Point to convert

Valeurs de retour

The resulting Size

add a note add a note

User Contributed Notes

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