com.miginfocom.util.gfx
Class RoundRectangle

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.RoundRectangle2D
          extended by java.awt.geom.RoundRectangle2D.Double
              extended by com.miginfocom.util.gfx.RoundRectangle
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable

public class RoundRectangle
extends java.awt.geom.RoundRectangle2D.Double
implements java.io.Serializable

An subclass of the RoundRectangle2D with corner arcs that arn't scaled when the shape itself is scaled.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.RoundRectangle2D
java.awt.geom.RoundRectangle2D.Double, java.awt.geom.RoundRectangle2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.RoundRectangle2D.Double
archeight, arcwidth, height, width, x, y
 
Constructor Summary
RoundRectangle(double x, double y, double w, double h, double arcw, double arch)
           
 
Method Summary
 java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
           
 java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at, double flatness)
           
 double getSourceArcHeight()
           
 double getSourceOrgArcWidth()
           
 
Methods inherited from class java.awt.geom.RoundRectangle2D.Double
getArcHeight, getArcWidth, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, setRoundRect, setRoundRect
 
Methods inherited from class java.awt.geom.RoundRectangle2D
contains, contains, equals, hashCode, intersects, setFrame
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRectangle

public RoundRectangle(double x,
                      double y,
                      double w,
                      double h,
                      double arcw,
                      double arch)
Method Detail

getPathIterator

public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
Specified by:
getPathIterator in interface java.awt.Shape
Overrides:
getPathIterator in class java.awt.geom.RoundRectangle2D

getPathIterator

public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at,
                                                  double flatness)
Specified by:
getPathIterator in interface java.awt.Shape
Overrides:
getPathIterator in class java.awt.geom.RectangularShape

getSourceOrgArcWidth

public double getSourceOrgArcWidth()

getSourceArcHeight

public double getSourceArcHeight()


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.