|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use Rectangle2D | |
---|---|
java.awt | Minimal AWT package for shape classes with integer co-ordinates |
java.awt.geom | Minimal awt.geom package for Point2D, Line2D and Rectangle2D |
Uses of Rectangle2D in java.awt |
---|
Subclasses of Rectangle2D in java.awt | |
---|---|
class |
Rectangle
A rectangle with integer coordinates. |
Methods in java.awt that return Rectangle2D | |
---|---|
Rectangle2D |
Shape.getBounds2D()
Get the bounding Rectangle2D for the shape |
Rectangle2D |
Rectangle.getBounds2D()
|
Methods in java.awt with parameters of type Rectangle2D | |
---|---|
boolean |
Shape.contains(Rectangle2D r)
Test if the shape contains the Rectangle2D |
boolean |
Shape.intersects(Rectangle2D r)
Test if the shape intersects the Rectangle2D r |
Uses of Rectangle2D in java.awt.geom |
---|
Subclasses of Rectangle2D in java.awt.geom | |
---|---|
static class |
Rectangle2D.Double
A Rectangle2D with double coordinates |
static class |
Rectangle2D.Float
A Rectangle2D with float coordinates. |
Methods in java.awt.geom that return Rectangle2D | |
---|---|
Rectangle2D |
Rectangle2D.Float.getBounds2D()
Get the bounds as a Rectangle2D with float coordinates |
Rectangle2D |
Rectangle2D.Double.getBounds2D()
|
Rectangle2D |
Line2D.Float.getBounds2D()
Get the bounds of the line as a Rectangle2D |
Rectangle2D |
Line2D.Double.getBounds2D()
Get the bounds of the line as a Rectangle2D |
Rectangle2D |
RectangularShape.getFrame()
Get the framing rectangle |
Methods in java.awt.geom with parameters of type Rectangle2D | |
---|---|
boolean |
RectangularShape.contains(Rectangle2D r)
Test if this shape contains a given Rectangle2D |
boolean |
Line2D.contains(Rectangle2D r)
|
boolean |
RectangularShape.intersects(Rectangle2D r)
Test if this shape intersects a given Rectangle2D |
boolean |
Line2D.intersects(Rectangle2D r)
|
void |
RectangularShape.setFrame(Rectangle2D r)
Set the frame of the rectangular shape |
void |
Rectangle2D.setRect(Rectangle2D r)
Set this Rectangle2D to be the same as a given Rectangle2D |
void |
Rectangle2D.Float.setRect(Rectangle2D r)
|
void |
Rectangle2D.Double.setRect(Rectangle2D r)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |