« インストール手順
UI\Point::at »

Represents a position (x,y)

(UI 0.9.9)

はじめに

Points are used throughout UI to represent co-ordinates on a screen, control, or area.

クラス概要

final class UI\Point {
/* プロパティ */
public $x;
public $y;
/* Constructor */
public function __construct(float $x, float $y)
/* メソッド */
public static function at(float $point): UI\Point
public static function at(UI\Size $size): UI\Point
public function getX(): float
public function getY(): float
public function setX(float $point)
public function setY(float $point)
}

プロパティ

x

Holds the X co-ordinate, can be read/written directly

y

Holds the Y co-ordinate, can be read/written directly

目次

関連キーワード:
Point   float   Represents   position   point   プロパティ   construct   static   Size   getX   getY   setX   setY   Holds   ordinate   read   written   directly   Retrieves   Points   used   throughout   represent   ordinates   screen
関連する関数・ページ:
ui-point.setx   ui-point.sety   ui-point.gety   ui-point.construct   ui-point.getx   ui-point.at