visual.statik.described
Interface TransformableContent

All Superinterfaces:
SimpleContent, TransformableContent

public interface TransformableContent
extends TransformableContent

The requirements of transformable static described visual content

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Method Summary
 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
 
Methods inherited from interface visual.statik.TransformableContent
getBounds2D, setLocation, setRotation, setScale
 
Methods inherited from interface visual.statik.SimpleContent
render
 

Method Detail

setColor

void setColor(java.awt.Color color)
Set the Color to use for stroking

Parameters:
color - The Color to use (or null to prevent stroking)

setPaint

void setPaint(java.awt.Paint paint)
Set the Paint to use for filling

Parameters:
paint - The Paint to use (or null to prevent filling)

setStroke

void setStroke(java.awt.Stroke stroke)
Set the Stroke to use

Parameters:
stroke - The Stroke to use (or null to use the default)


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers