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, render
getBounds2D, setLocation, setRotation, setScale, setScale
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds2D, setLocation, setRotation, setScale
render
public 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)