Packagenet.guttershark.util
Classpublic final class MouseUtils

The MouseUtils class has utility methods for working with mouse positions.



Public Methods
 MethodDefined by
  
[static] Singleton access.
MouseUtils
  
inRectangle(scope:DisplayObject, rectangle:Rectangle):Boolean
Check to see if the mouse is within the bounds of a rectangle.
MouseUtils
Method detail
gi()method
public static function gi():MouseUtils

Singleton access.

Returns
MouseUtils
inRectangle()method 
public function inRectangle(scope:DisplayObject, rectangle:Rectangle):Boolean

Check to see if the mouse is within the bounds of a rectangle.

Parameters
scope:DisplayObject — The scope of mouse coordinates to use.
 
rectangle:Rectangle — The bounds in wich to check the mouse position against.

Returns
Boolean