Save This Page
Home » openjdk-7 » java » awt » geom » [javadoc | source]
java.awt.geom
public static class: Arc2D.Double [javadoc | source]
java.lang.Object
   java.awt.geom.RectangularShape
      java.awt.geom.Arc2D
         java.awt.geom.Arc2D$Double

All Implemented Interfaces:
    Serializable, Shape, Cloneable

This class defines an arc specified in {@code double} precision.
Field Summary
public  double x    The X coordinate of the upper-left corner of the framing rectangle of the arc.
    since: 1.2 -
    serial:
 
public  double y    The Y coordinate of the upper-left corner of the framing rectangle of the arc.
    since: 1.2 -
    serial:
 
public  double width    The overall width of the full ellipse of which this arc is a partial section (not considering the angular extents).
    since: 1.2 -
    serial:
 
public  double height    The overall height of the full ellipse of which this arc is a partial section (not considering the angular extents).
    since: 1.2 -
    serial:
 
public  double start    The starting angle of the arc in degrees.
    since: 1.2 -
    serial:
 
public  double extent    The angular extent of the arc in degrees.
    since: 1.2 -
    serial:
 
Fields inherited from java.awt.geom.Arc2D:
OPEN,  CHORD,  PIE
Constructor:
 public Double() 
 public Double(int type) 
 public Double(Rectangle2D ellipseBounds,
    double start,
    double extent,
    int type) 
    Constructs a new arc, initialized to the specified location, size, angular extents, and closure type.
    Parameters:
    ellipseBounds - The framing rectangle that defines the outer boundary of the full ellipse of which this arc is a partial section.
    start - The starting angle of the arc in degrees.
    extent - The angular extent of the arc in degrees.
    type - The closure type for the arc: #OPEN , #CHORD , or #PIE .
    since: 1.2 -
 public Double(double x,
    double y,
    double w,
    double h,
    double start,
    double extent,
    int type) 
Method from java.awt.geom.Arc2D$Double Summary:
getAngleExtent,   getAngleStart,   getHeight,   getWidth,   getX,   getY,   isEmpty,   makeBounds,   setAngleExtent,   setAngleStart,   setArc
Methods from java.awt.geom.Arc2D:
contains,   contains,   contains,   containsAngle,   equals,   getAngleExtent,   getAngleStart,   getArcType,   getBounds2D,   getEndPoint,   getPathIterator,   getStartPoint,   hashCode,   intersects,   makeBounds,   normalizeDegrees,   setAngleExtent,   setAngleStart,   setAngleStart,   setAngles,   setAngles,   setArc,   setArc,   setArc,   setArc,   setArcByCenter,   setArcByTangent,   setArcType,   setFrame
Methods from java.awt.geom.RectangularShape:
clone,   contains,   contains,   getBounds,   getCenterX,   getCenterY,   getFrame,   getHeight,   getMaxX,   getMaxY,   getMinX,   getMinY,   getPathIterator,   getWidth,   getX,   getY,   intersects,   isEmpty,   setFrame,   setFrame,   setFrame,   setFrameFromCenter,   setFrameFromCenter,   setFrameFromDiagonal,   setFrameFromDiagonal
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.geom.Arc2D$Double Detail:
 public double getAngleExtent() 
    {@inheritDoc}
 public double getAngleStart() 
    {@inheritDoc}
 public double getHeight() 
    {@inheritDoc} Note that the arc partially inscribes the framing rectangle of this {@code RectangularShape}.
 public double getWidth() 
    {@inheritDoc} Note that the arc partially inscribes the framing rectangle of this {@code RectangularShape}.
 public double getX() 
    {@inheritDoc} Note that the arc partially inscribes the framing rectangle of this {@code RectangularShape}.
 public double getY() 
    {@inheritDoc} Note that the arc partially inscribes the framing rectangle of this {@code RectangularShape}.
 public boolean isEmpty() 
    {@inheritDoc}
 protected Rectangle2D makeBounds(double x,
    double y,
    double w,
    double h) 
    {@inheritDoc}
 public  void setAngleExtent(double angExt) 
    {@inheritDoc}
 public  void setAngleStart(double angSt) 
    {@inheritDoc}
 public  void setArc(double x,
    double y,
    double w,
    double h,
    double angSt,
    double angExt,
    int closure) 
    {@inheritDoc}