Example usage for Java java.awt.geom Ellipse2D fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | contains(Point2D p) |
boolean | contains(double x, double y) |
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. |
Rectangle2D | getFrame() Returns the framing Rectangle2D that defines the overall shape of this object. |
double | getHeight() Returns the height of the framing rectangle 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) |
boolean | isEmpty() Determines whether the RectangularShape is empty. |
void | setFrame(Rectangle2D r) Sets the framing rectangle of this Shape to be the specified Rectangle2D . |
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. |
void | setFrameFromCenter(double centerX, double centerY, double cornerX, double cornerY) Sets the framing rectangle of this Shape based on the specified center point coordinates and corner point coordinates. |
void | setFrameFromDiagonal(Point2D p1, Point2D p2) Sets the diagonal of the framing rectangle of this Shape based on two specified Point2D objects. |