|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShapeTag
The ShapeTag interface provides a common set of methods for accessing the bounding box, line styles, fill styles and shape of all the different shape definitions available in Flash.
| Method Summary | |
|---|---|
ShapeTag |
add(FillStyle style)
Add a fill style. |
ShapeTag |
add(LineStyle style)
Add a line style. |
Bounds |
getBounds()
Get the bounding rectangle that completely enclosed the shape. |
List<FillStyle> |
getFillStyles()
Get the list fill styles. |
List<LineStyle> |
getLineStyles()
Get the list line styles. |
Shape |
getShape()
Get the shape. |
void |
setBounds(Bounds rect)
Sets the bounding rectangle that encloses the shape. |
void |
setFillStyles(List<FillStyle> styles)
Sets the list fill styles that will be used to draw the shape. |
void |
setLineStyles(List<LineStyle> styles)
Sets the list of styles that will be used to draw the outline of the shape. |
void |
setShape(Shape aShape)
Sets the shape. |
| Methods inherited from interface com.flagstone.transform.DefineTag |
|---|
getIdentifier, setIdentifier |
| Methods inherited from interface com.flagstone.transform.coder.SWFEncodeable |
|---|
encode, prepareToEncode |
| Methods inherited from interface com.flagstone.transform.coder.Copyable |
|---|
copy |
| Method Detail |
|---|
Bounds getBounds()
void setBounds(Bounds rect)
rect - set the bounding rectangle for the shape. Must not be null.List<LineStyle> getLineStyles()
void setLineStyles(List<LineStyle> styles)
styles - the line styles for the shape. Must not be null.ShapeTag add(LineStyle style)
style - an instance of LineStyle. Must not be null.
List<FillStyle> getFillStyles()
void setFillStyles(List<FillStyle> styles)
styles - the fill styles for the shape. Must not be null.ShapeTag add(FillStyle style)
style - an instance of FillStyle. Must not be null.
Shape getShape()
void setShape(Shape aShape)
aShape - set the shape to be drawn. Must not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||