| Package | net.guttershark.util |
| Class | public final class MouseUtils |
| Method | Defined by | ||
|---|---|---|---|
|
gi():MouseUtils
[static]
Singleton access.
| MouseUtils | ||
|
inRectangle(scope:DisplayObject, rectangle:Rectangle):Boolean
Check to see if the mouse is within the bounds of a rectangle.
| MouseUtils | ||
| gi | () | method |
| inRectangle | () | method |
public function inRectangle(scope:DisplayObject, rectangle:Rectangle):BooleanCheck to see if the mouse is within the bounds of a rectangle.
Parametersscope:DisplayObject — The scope of mouse coordinates to use.
|
|
rectangle:Rectangle — The bounds in wich to check the mouse position against.
|
Boolean |