UI\Size
PHP Manual

UI\Size::of

(PHP 7, UI 1.0.2)

UI\Size::ofPoint Coercion

설명

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

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

인수

size

The value for width and height

point

The Point to convert

반환값

The resulting Size


UI\Size
PHP Manual