API Docs for: 7.2
Show:

MQA.Point Class

Module: MQA

Represents an x,y pair

Constructor

MQA.Point

(
  • x
  • y
)

Parameters:

Properties

Methods

Properties

x

Number

The x coordinate.

y

Number

The y coordinate.

Methods

getX

() Number

Returns the current x coordinate.

Returns <Number>

x The x coordinate.

getY

() Number

Returns the current y coordinate.

Returns <Number>

y The y coordinate.

setX

(
  • x
)

Set the x coordinate..

Parameters:

setXY

(
  • x
  • y
)

Set both the x and y coordinates.

Parameters:

setY

(
  • y
)

Set the y coordinate.

Parameters: