java.lang.Cloneable, DrawOperationpublic abstract class BasicShape extends ImageOperation implements DrawOperation
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
fill |
|
protected java.lang.String |
stroke |
|
protected int |
stroke_width |
instructionsdescription, location, project| Constructor | Description |
|---|---|
BasicShape() |
| Modifier and Type | Method | 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.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringexecuteDrawOperationaddDraw, addRectangle, addRotate, addScale, addTextequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectprotected 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.