public class GenericShape extends FixedDrawingComponent
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
closure |
double |
curviness |
java.lang.String |
symmetry |
double[] |
xpts |
double[] |
ypts |
| Constructor and Description |
|---|
GenericShape() |
GenericShape(Shape sh,
Position cpos,
double scl) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyToShape(Shape shp) |
private double[] |
fromScaledPoints(double[] va,
double c,
double scl) |
void |
instruct(Painter p,
double offx,
double offy,
double scale) |
void |
reReference() |
copy, getColor, getFillColor, getWidth, isClosed, isFilled, isOpen, isWrapper, makeShape, parseColor, parseWidth, parseWidthStyle, setClosed, setColor, setFillColor, setFilled, setLineColor, setLineWidth, setOpen, setWidth, widthIsPixelspublic double curviness
public java.lang.String closure
public java.lang.String symmetry
public double[] xpts
public double[] ypts
private double[] fromScaledPoints(double[] va,
double c,
double scl)
public void reReference()
reReference in interface ReReferencablereReference in class FixedDrawingComponentpublic void instruct(Painter p, double offx, double offy, double scale)
instruct in class FixedDrawingComponentpublic void applyToShape(Shape shp)
applyToShape in class FixedDrawingComponentCopyright © 2013. All Rights Reserved.