« UI\Point
UI\Point::__construct »

UI\Point::at

(UI 1.0.2)

UI\Point::at — Size Coercion

説明

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

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

パラメータ

point

The value for x and y

size

The Size to convert

戻り値

The resulting Point

関連キーワード:
Point   Size   Coercion   static   float   point   size   construct   return   equal   those   supplied   form   convert   resulting
関連する関数・ページ:
ui-size.of   ui-point.construct   class.ui-point   ui-point.sety   ui-point.setx   ui-point.getx