java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.Rectangle
- All Implemented Interfaces:
- Shape, Serializable, Cloneable
- Direct Known Subclasses:
- DefaultCaret
- See Also:
- Top Examples, Source Code
public void add(int newx,
int newy)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void add(Point pt)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void add(Rectangle r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(int X,
int Y,
int W,
int H)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(Point p)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(Rectangle r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle2D createIntersection(Rectangle2D r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle2D createUnion(Rectangle2D r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean equals(Object obj)
- See Also:
Hashtable
, Object.hashCode()
, Rectangle2D
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle getBounds()
- See Also:
setBounds(int, int, int, int)
, setBounds(Rectangle)
, RectangularShape, Shape, Component
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle2D getBounds2D()
- See Also:
Shape.getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public double getHeight()
- See Also:
- RectangularShape
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Point getLocation()
- See Also:
setLocation(int, int)
, setLocation(Point)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getSize()
- See Also:
setSize(int, int)
, setSize(Dimension)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public double getWidth()
- See Also:
- RectangularShape
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public double getX()
- See Also:
- RectangularShape
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public double getY()
- See Also:
- RectangularShape
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void grow(int h,
int v)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int height
- See Also:
getSize()
, setSize(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean inside(int X,
int Y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle intersection(Rectangle r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean intersects(Rectangle r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isEmpty()
- See Also:
- RectangularShape
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void move(int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int outcode(double x,
double y)
- See Also:
Rectangle2D.OUT_BOTTOM
, Rectangle2D.OUT_RIGHT
, Rectangle2D.OUT_TOP
, Rectangle2D.OUT_LEFT
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle(int width,
int height)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle(int x,
int y,
int width,
int height)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle(Dimension d)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle(Point p)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle(Point p,
Dimension d)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle(Rectangle r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void reshape(int x,
int y,
int width,
int height)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void resize(int width,
int height)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBounds(int x,
int y,
int width,
int height)
- See Also:
getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBounds(Rectangle r)
- See Also:
getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setLocation(int x,
int y)
- See Also:
getLocation()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setLocation(Point p)
- See Also:
getLocation()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setRect(double x,
double y,
double width,
double height)
- See Also:
- Rectangle2D
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setSize(int width,
int height)
- See Also:
getSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setSize(Dimension d)
- See Also:
getSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String toString()
- See Also:
- Object
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void translate(int x,
int y)
- See Also:
setLocation(java.awt.Point)
, setLocation(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle union(Rectangle r)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int width
- See Also:
getSize()
, setSize(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int x
- See Also:
getLocation()
, setLocation(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int y
- See Also:
getLocation()
, setLocation(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples