java.lang.Cloneable
, DrawOperation
public 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 |
instructions
description, 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, toString
executeDrawOperation
addDraw, addRectangle, addRotate, addScale, addText
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
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.