Creates a new Point
Position of the point on the x axis
Position of the point on the y axis
Creates a clone of this point
A clone of this point
Copies x
and y
from the given point into this point
The point to copy from
The point instance itself
Copies this point's x and y into the given point (p
).
The point to copy to. Can be any of type that is or extends IPointData
The point (p
) with values updated
Accepts another point (p
) and returns true
if the given point is equal to this point
The point to check
Returns true
if both x
and y
are equal
Sets the point to a new x
and y
position.
If y
is omitted, both x
and y
will be set to x
.
The point instance itself
Generated using TypeDoc
The Point object represents a location in a two-dimensional coordinate system, where
x
represents the position on the horizontal axis andy
represents the position on the vertical axisPIXI
IPoint