public class Rectangle extends FixedDrawingComponent
Constructor and Description |
---|
Rectangle() |
Rectangle(double x1,
double y1,
double rx1,
double ry1) |
Modifier and Type | Method and Description |
---|---|
void |
applySymmetryToShape(Shape shp) |
void |
applyToShape(Shape shp) |
void |
instruct(Painter p,
double offx,
double offy,
double scale) |
void |
setSize(double sx,
double sy) |
copy, getColor, getFillColor, getWidth, isClosed, isFilled, isOpen, isWrapper, makeShape, parseColor, parseWidth, parseWidthStyle, reReference, setClosed, setColor, setFillColor, setFilled, setLineColor, setLineWidth, setOpen, setWidth, widthIsPixels
public Rectangle()
public Rectangle(double x1, double y1, double rx1, double ry1)
public void setSize(double sx, double sy)
public void instruct(Painter p, double offx, double offy, double scale)
instruct
in class FixedDrawingComponent
public void applyToShape(Shape shp)
applyToShape
in class FixedDrawingComponent
public void applySymmetryToShape(Shape shp)
Copyright © 2013. All Rights Reserved.