public class CompositeContent extends AbstractAggregateContent<TransformableContent> implements TransformableContent
| Constructor and Description |
|---|
CompositeContent()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setColor(java.awt.Color color)
Set the Color to use for stroking.
|
void |
setPaint(java.awt.Paint paint)
Set the Paint to use for filling.
|
void |
setStroke(java.awt.Stroke stroke)
Set the Stroke to use.
|
add, getBounds2D, iterator, remove, rendergetBounds2D, setLocation, setRotation, setScale, setScaleequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBounds2D, setLocation, setRotation, setScalerenderpublic void setColor(java.awt.Color color)
color - The Color to use (or null to prevent stroking)public void setPaint(java.awt.Paint paint)
paint - The Paint to use (or null to prevent filling)public void setStroke(java.awt.Stroke stroke)
stroke - The Stroke to use (or null to use the default)