GoLang UI\Size::of

request it (41)
GoLang replacement for PHP's UI\Size::of [edit | history]



Do you know a GoLang replacement for PHP's UI\Size::of? Write it!

PHP UI\Size::of

PHP original manual for UI\Size::of [ show | php.net ]

UI\Size::of

(PHP 7, UI 1.0.2)

UI\Size::ofPoint Coercion

Description

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

Parameters

size

The value for width and height

point

The Point to convert

Return Values

The resulting Size