Java java.awt.geom Ellipse2D fields, constructors, methods, implement or subclass

Example usage for Java java.awt.geom Ellipse2D fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.geom Ellipse2D.

The text is from its open source code.

Method

booleancontains(Point2D p)
booleancontains(double x, double y)
doublegetCenterX()
Returns the X coordinate of the center of the framing rectangle of the Shape in double precision.
doublegetCenterY()
Returns the Y coordinate of the center of the framing rectangle of the Shape in double precision.
Rectangle2DgetFrame()
Returns the framing Rectangle2D that defines the overall shape of this object.
doublegetHeight()
Returns the height of the framing rectangle in double precision.
doublegetWidth()
Returns the width of the framing rectangle in double precision.
doublegetX()
Returns the X coordinate of the upper-left corner of the framing rectangle in double precision.
doublegetY()
Returns the Y coordinate of the upper-left corner of the framing rectangle in double precision.
booleanintersects(Rectangle2D r)
booleanisEmpty()
Determines whether the RectangularShape is empty.
voidsetFrame(Rectangle2D r)
Sets the framing rectangle of this Shape to be the specified Rectangle2D .
voidsetFrame(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.
voidsetFrameFromCenter(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.
voidsetFrameFromDiagonal(Point2D p1, Point2D p2)
Sets the diagonal of the framing rectangle of this Shape based on two specified Point2D objects.