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, widthIsPixels
public 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 ReReferencable
reReference
in class FixedDrawingComponent
public void instruct(Painter p, double offx, double offy, double scale)
instruct
in class FixedDrawingComponent
public void applyToShape(Shape shp)
applyToShape
in class FixedDrawingComponent
Copyright © 2013. All Rights Reserved.