Point

A point on the screen

Constructor
Point(x: number = 0, y: number = 0)

Construct a Point from coordinates

Parameters
x The x coordinate
y The y coordinate
Methods
getX
number getX()

Get the x coordinate

Return
number The x coordinate
getY
number getY()

Get the y coordinate

Return
number The y coordinate
noScale
Point noScale()

After calling this, the system will not attempt to scale the point and just use the coordinate as it is

Return
Point This Point instance

© 2021 - Macrorify by KoK-CODE