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

All Implemented Interfaces:
    Serializable, Shape, Cloneable

This class defines an arc specified in {@code float} precision.
Field Summary
public  float x    The X coordinate of the upper-left corner of the framing rectangle of the arc.
    since: 1.2 -
    serial:
 
public  float y    The Y coordinate of the upper-left corner of the framing rectangle of the arc.
    since: 1.2 -
    serial:
 
public  float 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  float 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  float start    The starting angle of the arc in degrees.
    since: 1.2 -
    serial:
 
public  float 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 Float() 
 public Float(int type) 
 public Float(Rectangle2D ellipseBounds,
    float start,
    float 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 Float(float x,
    float y,
    float w,
    float h,
    float start,
    float extent,
    int type) 
Method from java.awt.geom.Arc2D$Float 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$Float 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}