public abstract class BasicShape extends ImageOperation implements DrawOperation
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fill |
protected java.lang.String |
stroke |
protected int |
stroke_width |
instructions
description, location, project
Constructor and Description |
---|
BasicShape() |
Modifier and Type | Method and Description |
---|---|
void |
setFill(java.lang.String col)
Set the fill attribute.
|
void |
setStroke(java.lang.String col)
Set the stroke attribute.
|
void |
setStrokewidth(int width)
Set the stroke width attribute.
|
addDraw, addRectangle, addRotate, addScale, addText
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
executeDrawOperation
protected int stroke_width
protected java.lang.String fill
protected java.lang.String stroke
public void setFill(java.lang.String col)
col
- the color value to use.public void setStroke(java.lang.String col)
col
- the color value to use.public void setStrokewidth(int width)
width
- the value to use.