API Docs for: 7.2
Show:

MQA.PointFloatXY Class

Extends MQA.Point
Module: MQA

PointXY class. X & Y will be cast to floats.

Constructor

MQA.PointFloatXY

(
  • x
  • y
)

Parameters:

Properties

Methods

Properties

x

Number

Inherited from MQA.Point

The x coordinate.

y

Number

Inherited from MQA.Point

The y coordinate.

Methods

getX

() Number

Inherited from MQA.Point

Returns the current x coordinate.

Returns <Number>

x The x coordinate.

getY

() Number

Inherited from MQA.Point

Returns the current y coordinate.

Returns <Number>

y The y coordinate.

setX

(
  • x
)

Inherited from MQA.Point

Set the x coordinate..

Parameters:

setXY

(
  • x
  • y
)

Inherited from MQA.Point

Set both the x and y coordinates.

Parameters:

setY

(
  • y
)

Inherited from MQA.Point

Set the y coordinate.

Parameters: