|
|
java > java.awt > java.awt.geom > java.awt.geom.rectangle2d >
Class: java.awt.geom.Rectangle2D java.lang.Object java.awt.geom.RectangularShape java.awt.geom.Rectangle2D
public abstract class Rectangle2D extends RectangularShape
FIELDS:
public static final int OUT_BOTTOM : 8 public static final int OUT_LEFT : 1 public static final int OUT_RIGHT : 4 public static final int OUT_TOP : 2 |
|
|
|
CONSTRUCTORS:
METHODS:
| | | | public | void | add(double newx, double newy) |
| | public | void | add(Point2D pt) |
| | public | void | add(Rectangle2D r) |
| | public | boolean | contains(double x, double y) |
| | public | boolean | contains(double x, double y, double w, double h) |
| | public abstract | Rectangle2D | createIntersection(Rectangle2D r) |
| | public abstract | Rectangle2D | createUnion(Rectangle2D r) |
| | public | boolean | equals(Object obj) Overrides: Object |
| | public | Rectangle2D | getBounds2D() |
| | public | PathIterator | getPathIterator(AffineTransform at) |
| | public | PathIterator | getPathIterator(AffineTransform at, double flatness) Overrides: RectangularShape |
| | public | int | hashCode() Overrides: Object |
| | public static | void | intersect(Rectangle2D src1, Rectangle2D src2, Rectangle2D dest) |
| | public | boolean | intersects(double x, double y, double w, double h) |
| | public | boolean | intersectsLine(double x1, double y1, double x2, double y2) |
| | public | boolean | intersectsLine(Line2D l) |
| | public abstract | int | outcode(double x, double y) |
| | public | int | outcode(Point2D p) |
| | public | void | setFrame(double x, double y, double w, double h) Overrides: RectangularShape |
| | public abstract | void | setRect(double x, double y, double w, double h) |
| | public | void | setRect(Rectangle2D r) |
| | public static | void | union(Rectangle2D src1, Rectangle2D src2, Rectangle2D dest) |
| |
|
|
|
INHERITED METHODS:
| getX(), getY(), getWidth(), getHeight(), getMinX(), getMinY(), getMaxX(), getMaxY(), getCenterX(), getCenterY(), getFrame(), isEmpty(), setFrame(double, double, double, double), setFrame(java.awt.geom.Point2D, java.awt.geom.Dimension2D), setFrame(java.awt.geom.Rectangle2D), setFrameFromDiagonal(double, double, double, double), setFrameFromDiagonal(java.awt.geom.Point2D, java.awt.geom.Point2D), setFrameFromCenter(double, double, double, double), setFrameFromCenter(java.awt.geom.Point2D, java.awt.geom.Point2D), contains(java.awt.geom.Point2D), contains(java.awt.geom.Rectangle2D), intersects(java.awt.geom.Rectangle2D), getBounds(), getPathIterator(java.awt.geom.AffineTransform, double), clone(), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|