Example usage for Java java.awt.geom RectangularShape fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | clone() Creates a new object of the same class and with the same contents as this object. |
Rectangle2D | getBounds2D() Returns a high precision and more accurate bounding box of the Shape than the getBounds method. |
double | getCenterX() Returns the X coordinate of the center of the framing rectangle of the Shape in double precision. |
double | getCenterY() Returns the Y coordinate of the center of the framing rectangle of the Shape in double precision. |
double | getHeight() Returns the height of the framing rectangle in double precision. |
double | getMaxX() Returns the largest X coordinate of the framing rectangle of the Shape in double precision. |
double | getMaxY() Returns the largest Y coordinate of the framing rectangle of the Shape in double precision. |
double | getMinX() Returns the smallest X coordinate of the framing rectangle of the Shape in double precision. |
double | getMinY() Returns the smallest Y coordinate of the framing rectangle of the Shape in double precision. |
double | getWidth() Returns the width of the framing rectangle in double precision. |
double | getX() Returns the X coordinate of the upper-left corner of the framing rectangle in double precision. |
double | getY() Returns the Y coordinate of the upper-left corner of the framing rectangle in double precision. |
boolean | intersects(Rectangle2D r) |
void | setFrame(double x, double y, double w, double h) Sets the location and size of the framing rectangle of this Shape to the specified rectangular values. |