Coordinate

This class represents a two dimensional coordinate on a digitizer.

package

Application

Methods

Constructor, creates a new instance of this class.

__construct(floatx, floaty) : mixed

Arguments

x

float

The horizontal component.

y

float

The vertical component.

Response

mixed

Gets the horizontal component.

getX() : float

Response

float

Gets the vertical component.

getY() : float

Response

float

Sets the horizontal component.

setX(floatx) : mixed

Arguments

x

float

Response

mixed

Set the vertical component.

setY(floaty) : mixed

Arguments

y

float

Response

mixed

Properties

The horizontal coordinate.

x : float
var

Type(s)

float

The vertical coordinate.

y : float
var

Type(s)

float