« UI\Size::getWidth
UI\Size::setHeight »

UI\Size::of

(UI 1.0.2)

UI\Size::of — Point Coercion

説明

public static function UI\Size::of(float $size): UI\Size
public static function 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

パラメータ

size

The value for width and height

point

The Point to convert

戻り値

The resulting Size

関連キーワード:
Size   Point   Coercion   static   float   size   point   width   height   getWidth   setHeight   equal   form   convert   resulting
関連する関数・ページ:
ui-point.at   class.ui-size   ui-size.construct   ui-size.getwidth   ui-size.setheight   class.ui-point

他のマニュアルの関連ページ