![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IScreenArea interface.
The IScreenArea object can be created by the ITouchableHandler object.
Set the area's input coordinate range. This method sets the area's start and end input coordinates.
Boolean SetInCoord(Number x1, Number y1, Number x2, Number y2)
x1 | The start coordinate in X direction. |
y1 | The start coordinate in Y direction. |
x2 | The end coordinate in X direction. |
y2 | The end coordinate in Y direction. |
Set the area's input coordinate start. See SetInCoord().
Boolean SetInCoord1(Number x1, Number y1)
x1 | The start coordinate in X direction. |
y1 | The start coordinate in Y direction. |
Set the area's input coordinate end. See SetInCoord().
Boolean SetInCoord2(Number x2, Number y2)
x2 | The end coordinate in X direction. |
y2 | The end coordinate in Y direction. |
Set the area's horizontal start input coordinate. See SetInCoord().
Boolean SetInCoordX1(Number x1)
x1 | The start coordinate in X direction. |
Set the area's vertical start input coordinates. See SetInCoord().
Boolean SetInCoordY1(Number y1)
y1 | The start coordinate in Y direction. |
Set the area's horizontal end input coordinate. See SetInCoord().
Boolean SetInCoordX2(Number x2)
x2 | The end coordinate in X direction. |
Set the area's vertical end input coordinates. See SetInCoord().
Boolean SetInCoordY2(Number y2)
y2 | The end coordinate in Y direction. |
Get the area's horizontal start input coordinate. See SetInCoord().
Number GetInCoordX1()
Get the area's vertical start input coordinate. See SetInCoord().
Number GetInCoordY1()
Get the area's horizontal end input coordinate. See SetInCoord().
Number GetInCoordX2()
Get the area's vertical end input coordinate. See SetInCoord().
Number GetInCoordY2()