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

All Implemented Interfaces:
    java$io$Serializable, Shape, Cloneable

The Float class defines a rectangle with rounded corners all specified in float coordinates.
Field Summary
public  float x    The X coordinate of this RoundRectangle2D.
    since: 1.2 -
    serial:
 
public  float y    The Y coordinate of this RoundRectangle2D.
    since: 1.2 -
    serial:
 
public  float width    The width of this RoundRectangle2D.
    since: 1.2 -
    serial:
 
public  float height    The height of this RoundRectangle2D.
    since: 1.2 -
    serial:
 
public  float arcwidth    The width of the arc that rounds off the corners.
    since: 1.2 -
    serial:
 
public  float archeight    The height of the arc that rounds off the corners.
    since: 1.2 -
    serial:
 
Constructor:
 public Float() 
 public Float(float x,
    float y,
    float w,
    float h,
    float arcw,
    float arch) 
Method from java.awt.geom.RoundRectangle2D$Float Summary:
getArcHeight,   getArcWidth,   getBounds2D,   getHeight,   getWidth,   getX,   getY,   isEmpty,   setRoundRect,   setRoundRect,   setRoundRect
Methods from java.awt.geom.RoundRectangle2D:
contains,   contains,   equals,   getArcHeight,   getArcWidth,   getPathIterator,   hashCode,   intersects,   setFrame,   setRoundRect,   setRoundRect
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.RoundRectangle2D$Float Detail:
 public double getArcHeight() 
    {@inheritDoc}
 public double getArcWidth() 
    {@inheritDoc}
 public Rectangle2D getBounds2D() 
    {@inheritDoc}
 public double getHeight() 
    {@inheritDoc}
 public double getWidth() 
    {@inheritDoc}
 public double getX() 
    {@inheritDoc}
 public double getY() 
    {@inheritDoc}
 public boolean isEmpty() 
    {@inheritDoc}
 public  void setRoundRect(RoundRectangle2D rr) 
    {@inheritDoc}
 public  void setRoundRect(float x,
    float y,
    float w,
    float h,
    float arcw,
    float arch) 
    Sets the location, size, and corner radii of this RoundRectangle2D to the specified float values.
 public  void setRoundRect(double x,
    double y,
    double w,
    double h,
    double arcw,
    double arch) 
    {@inheritDoc}