public abstract class FixedDrawingComponent extends java.lang.Object implements ReReferencable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED |
java.lang.String |
fillColor |
static int |
FILLED |
java.lang.String |
lineColor |
java.lang.String |
lineWidth |
static int |
OPEN |
private int |
p_closure |
protected java.awt.Color |
p_color |
private java.awt.Color |
p_fill |
protected double |
p_width |
private int |
p_widthStyle |
static int |
PIXELS |
static int |
RELATIVE |
Constructor and Description |
---|
FixedDrawingComponent() |
Modifier and Type | Method and Description |
---|---|
abstract void |
applyToShape(Shape shp) |
FixedDrawingComponent |
copy() |
java.awt.Color |
getColor() |
java.awt.Color |
getFillColor() |
double |
getWidth() |
abstract void |
instruct(Painter p,
double offx,
double offy,
double scale) |
boolean |
isClosed() |
boolean |
isFilled() |
boolean |
isOpen() |
boolean |
isWrapper() |
Shape |
makeShape() |
java.awt.Color |
parseColor(java.lang.String s) |
double |
parseWidth(java.lang.String win) |
int |
parseWidthStyle(java.lang.String win) |
void |
reReference() |
void |
setClosed() |
void |
setColor(java.awt.Color c) |
void |
setFillColor(java.awt.Color c) |
void |
setFilled() |
void |
setLineColor(java.awt.Color c) |
void |
setLineWidth(double d) |
void |
setOpen() |
void |
setWidth(double d) |
boolean |
widthIsPixels() |
public java.lang.String lineColor
public java.lang.String lineWidth
protected java.awt.Color p_color
protected double p_width
private int p_widthStyle
public static final int PIXELS
public static final int RELATIVE
public java.lang.String fillColor
private java.awt.Color p_fill
private int p_closure
public static final int OPEN
public static final int CLOSED
public static final int FILLED
public FixedDrawingComponent copy()
public boolean isWrapper()
public void setColor(java.awt.Color c)
public void setWidth(double d)
public java.awt.Color getColor()
public void setLineColor(java.awt.Color c)
public void setLineWidth(double d)
public double getWidth()
public boolean widthIsPixels()
public void setFillColor(java.awt.Color c)
public java.awt.Color getFillColor()
public abstract void instruct(Painter p, double offx, double offy, double scale)
public void reReference()
reReference
in interface ReReferencable
public boolean isOpen()
public boolean isClosed()
public boolean isFilled()
public void setClosed()
public void setOpen()
public void setFilled()
public java.awt.Color parseColor(java.lang.String s)
public int parseWidthStyle(java.lang.String win)
public double parseWidth(java.lang.String win)
public Shape makeShape()
public abstract void applyToShape(Shape shp)
Copyright © 2013. All Rights Reserved.