constant for left button
constant for middle button
constant for right button
the button property indicates which button was pressed on the mouse to trigger the event.
the horizontal coordinate within the application's client area at which the event occurred
the vertical coordinate within the application's client area at which the event occurred
an unsigned long representing the unit of the delta values scroll amount
a double representing the horizontal scroll amount in the Wheel Event deltaMode unit.
a double representing the vertical scroll amount in the Wheel Event deltaMode unit.
a double representing the scroll amount in the z-axis, in the Wheel Event deltaMode unit.
the originating Event Object
Event X coordinate relative to the holding container
Event Y coordinate relative to the holding container
Event X coordinate relative to the viewport
Event Y coordinate relative to the viewport
Event X coordinate relative to the map
Event Y coordinate relative to the map
Event normalized X coordinate within the game canvas itself
Event normalized Y coordinate within the game canvas itself
true if not originally a pointer event
indicates whether or not the pointer device that created the event is the primary pointer.
true if the pointer is currently locked
the difference in the X coordinate of the pointer since the previous move event
the difference in the Y coordinate of the pointer since the previous move event
the horizontal coordinate at which the event occurred, relative to the left edge of the entire document.
the vertical coordinate at which the event occurred, relative to the left edge of the entire document.
The unique identifier of the contact for a touch, mouse or pen
Gets the bottom coordinate of the bounds.
The bottom coordinate.
Gets the center position of the bounds on the x axis.
The center x coordinate.
Gets the center position of the bounds on the y axis.
The center y coordinate.
Gets the height of the bounds.
The height.
Sets the height of the bounds.
The new height.
Gets the left coordinate of the bounds.
The left coordinate.
Gets the right coordinate of the bounds.
The right coordinate.
Gets the top coordinate of the bounds.
The top coordinate.
Gets the width of the bounds.
The width.
Sets the width of the bounds.
The new width.
Gets the x position of the bounds.
The x position.
Sets the x position of the bounds.
The new x position.
Gets the y position of the bounds.
The y position.
Sets the y position of the bounds.
The new y position.
Adds the given bounds to the bounds definition.
The bounds to add.
Optional
clear: boolean = falseWhether to reset the bounds before adding the new bounds.
Adds the given quad coordinates to this bounds definition, multiplied by the given matrix.
The left x coordinate of the quad.
The top y coordinate of the quad.
The right x coordinate of the quad.
The bottom y coordinate of the quad.
Optional
m: Matrix2dAn optional transform to apply to the given coordinates.
Returns true if the two bounds intersect.
The bounds to check for intersection.
True if the bounds overlap, otherwise false.
Shifts the bounds to the given x, y position or vector.
Optional
y: numberThe y coordinate if the first parameter is a number.
Translates the bounds by the given point or vector.
Optional
y: numberThe y coordinate if the first parameter is a number.
a pointer object, representing a single finger on a touch enabled device.