org.rr0.is.presentation.view.report.applet.draw
Class PolygonShape
org.rr0.is.presentation.view.report.applet.draw.DrawShape
|
+--org.rr0.is.presentation.view.report.applet.draw.PolygonShape
- public class PolygonShape
- extends DrawShape
- Author:
- Jerôme Beau
- Version: 24 oct. 2003 19:34:37
| Methods inherited from class org.rr0.is.presentation.view.report.applet.draw.DrawShape |
getBounds, getColor, getHeight, getSize, getTransparency, getWidth, getX, getY, isSelected, paint, paintSelection, scale, setColor, setHaloScale, setHeight, setLocation, setSelected, setTransparency, setWidth, setX, setY |
nPoints
protected int nPoints
TWO_PI
protected final static double TWO_PI
xPoints
protected int[] xPoints
yPoints
protected int[] yPoints
PolygonShape
public PolygonShape(Component component)
clone
public Object clone()
throws java.lang.CloneNotSupportedException
compute
protected void compute()
paint
public void paint(Graphics g, Rectangle bounds)
paint
public void paint(Graphics g, Color color, Rectangle bounds)
scaleHeight
public void scaleHeight(double heightFactor)
scaleWidth
public void scaleWidth(double widthRatio)
setAngle
public void setAngle(double angle)
setnPoints
public void setnPoints(int nPoints)
setPoints
public void setPoints(int[] xPoints, int[] yPoints)
toSVGPathData
public String toSVGPathData()
toUUDF
public String toUUDF()