API Docs for:
Show:

gs.Point Class

A class to describe points. It also offers a lot of helper methods.

Constructor

gs.Point

(
  • x
  • y
)

Parameters:

  • x Number
    • The x-coordinate of the point.
  • y Number
    • The x-coordinate of the point.

Item Index

Methods

Properties

Methods

set

(
  • x
  • y
)

Sets the coordinates of the point.

Parameters:

  • x Number
    • The x-coordinate of the point.
  • y Number
    • The x-coordinate of the point.

Properties

x

Number

The x-coordinate of the point.

y

Number

The y-coordinate of the point.