Ellipse2D.Double (Java SE 11 & JDK 11 ) (original) (raw)
Nested Class Summary
* ### Nested classes/interfaces declared in class java.awt.geom.[Ellipse2D](Ellipse2D.html "class in java.awt.geom") `[Ellipse2D.Double](Ellipse2D.Double.html "class in java.awt.geom"), [Ellipse2D.Float](Ellipse2D.Float.html "class in java.awt.geom")`
Field Summary
Fields
Modifier and Type Field Description double height The overall height of the Ellipse2D. double width The overall width of this Ellipse2D. double x The X coordinate of the upper-left corner of the framing rectangle of this Ellipse2D. double y The Y coordinate of the upper-left corner of the framing rectangle of this Ellipse2D. Constructor Summary
Constructors
Constructor Description Double() Constructs a new Ellipse2D, initialized to location (0, 0) and size (0, 0). Double(double x, double y, double w, double h) Constructs and initializes an Ellipse2D from the specified coordinates. Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type Method Description Rectangle2D getBounds2D() Returns a high precision and more accurate bounding box of the Shape than the getBounds method. double getHeight() Returns the height of the framing rectangle in double precision. double getWidth() Returns the width of the framing rectangle indouble 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 isEmpty() Determines whether the RectangularShape is empty. void setFrame(double x, double y, double w, double h) Sets the location and size of the framing rectangle of thisShape to the specified rectangular values. * ### Methods declared in class java.awt.geom.[Ellipse2D](Ellipse2D.html "class in java.awt.geom") `[contains](Ellipse2D.html#contains%28double,double%29), [contains](Ellipse2D.html#contains%28double,double,double,double%29), [equals](Ellipse2D.html#equals%28java.lang.Object%29), [getPathIterator](Ellipse2D.html#getPathIterator%28java.awt.geom.AffineTransform%29), [hashCode](Ellipse2D.html#hashCode%28%29), [intersects](Ellipse2D.html#intersects%28double,double,double,double%29)` * ### Methods declared in class java.awt.geom.[RectangularShape](RectangularShape.html "class in java.awt.geom") `[clone](RectangularShape.html#clone%28%29), [contains](RectangularShape.html#contains%28java.awt.geom.Point2D%29), [contains](RectangularShape.html#contains%28java.awt.geom.Rectangle2D%29), [getBounds](RectangularShape.html#getBounds%28%29), [getCenterX](RectangularShape.html#getCenterX%28%29), [getCenterY](RectangularShape.html#getCenterY%28%29), [getFrame](RectangularShape.html#getFrame%28%29), [getMaxX](RectangularShape.html#getMaxX%28%29), [getMaxY](RectangularShape.html#getMaxY%28%29), [getMinX](RectangularShape.html#getMinX%28%29), [getMinY](RectangularShape.html#getMinY%28%29), [getPathIterator](RectangularShape.html#getPathIterator%28java.awt.geom.AffineTransform,double%29), [intersects](RectangularShape.html#intersects%28java.awt.geom.Rectangle2D%29), [setFrame](RectangularShape.html#setFrame%28java.awt.geom.Point2D,java.awt.geom.Dimension2D%29), [setFrame](RectangularShape.html#setFrame%28java.awt.geom.Rectangle2D%29), [setFrameFromCenter](RectangularShape.html#setFrameFromCenter%28double,double,double,double%29), [setFrameFromCenter](RectangularShape.html#setFrameFromCenter%28java.awt.geom.Point2D,java.awt.geom.Point2D%29), [setFrameFromDiagonal](RectangularShape.html#setFrameFromDiagonal%28double,double,double,double%29), [setFrameFromDiagonal](RectangularShape.html#setFrameFromDiagonal%28java.awt.geom.Point2D,java.awt.geom.Point2D%29)` * ### Methods declared in class java.lang.[Object](../../../../java.base/java/lang/Object.html "class in java.lang") `[finalize](../../../../java.base/java/lang/Object.html#finalize%28%29), [getClass](../../../../java.base/java/lang/Object.html#getClass%28%29), [notify](../../../../java.base/java/lang/Object.html#notify%28%29), [notifyAll](../../../../java.base/java/lang/Object.html#notifyAll%28%29), [toString](../../../../java.base/java/lang/Object.html#toString%28%29), [wait](../../../../java.base/java/lang/Object.html#wait%28%29), [wait](../../../../java.base/java/lang/Object.html#wait%28long%29), [wait](../../../../java.base/java/lang/Object.html#wait%28long,int%29)`