php教程

Represents a position (x,y)

(PHP 7, 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 ( void ) : float
public getY ( void ) : 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

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788