Class MouseArea
- java.lang.Object
-
- java.awt.geom.RectangularShape
-
- java.awt.geom.Rectangle2D
-
- java.awt.Rectangle
-
- net.eternalclient.api.utilities.math.MouseArea
-
- All Implemented Interfaces:
java.awt.Shape
,java.io.Serializable
,java.lang.Cloneable
public class MouseArea extends java.awt.Rectangle
This class represents a rectangular area on the screen that can be used for mouse operations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MouseArea(int x1, int y1, int x2, int y2)
MouseArea(java.awt.Point topleft, java.awt.Point bottomright)
MouseArea(java.awt.Rectangle rectangle)
MouseArea(net.eternalclient.api.data.Point topleft, net.eternalclient.api.data.Point bottomright)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Point
getRandomGaussianPoint()
java.awt.Point
getRandomGaussianPoint(boolean forceInside)
java.awt.Point
getRandomPoint()
-
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
-
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
-
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
-
-
-
-
Constructor Detail
-
MouseArea
public MouseArea(java.awt.Rectangle rectangle)
-
MouseArea
public MouseArea(int x1, int y1, int x2, int y2)
-
MouseArea
public MouseArea(java.awt.Point topleft, java.awt.Point bottomright)
-
MouseArea
public MouseArea(net.eternalclient.api.data.Point topleft, net.eternalclient.api.data.Point bottomright)
-
-