Php/docs/class.ui-point

提供:Dev Guides
< Php
2020年12月14日 (月) 11:08時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(UI 0.9.9)

はじめに

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


クラス概要


final UI\Point {

/* プロパティ */

public $x

public $y

/* Constructor */

public __construct ( float $x , float $y )

/* メソッド */

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

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

public getX ( ) : float

public getY ( ) : float

public setX ( float $point )

public 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


目次