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 |
instructionsdescription, 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, addTextcheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecuteDrawOperationprotected 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.