Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
TouchCoord

TouchCoord Class Reference

Constructors

Instance Methods

Constructors

new TouchCoord(parameters)

Initalizes an instance of TouchCoord.

Instance Methods

touchCoord.getX() ⇒ Number

Get the X

Kind: Instance method of TouchCoord
Returns: Number - the KEY_X value

touchCoord.getY() ⇒ Number

Get the Y

Kind: Instance method of TouchCoord
Returns: Number - the KEY_Y value

touchCoord.setX(x) ⇒ TouchCoord

Set the X

Kind: Instance method of TouchCoord
Returns: TouchCoord - The class instance for method chaining.

ParamTypeDescription
x Number The x coordinate of the touch. - The desired X.

touchCoord.setY(y) ⇒ TouchCoord

Set the Y

Kind: Instance method of TouchCoord
Returns: TouchCoord - The class instance for method chaining.

ParamTypeDescription
y Number The y coordinate of the touch. - The desired Y.
View on GitHub.com
Previous Section Next Section