Point
+ new Point(x
: number, y
: number): Point
Parameters:
Returns: Point
• x: number
• y: number
▸ clone(): Point‹›
Returns a copy of Point that can be mutated separately.
Returns: Point‹›
▸ cloneTo(point
: Point): Point‹›
Copies all of this Point's properties to a Point specified in an argument. Returns the point passed as argument.
Parameters:
Returns: Point‹›
▸ toString(): string
Returns: string
Name
Type
Default
x
number
0
y
number
0
Name
Type
point