|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StaticTextTag
The StaticTextTag interface provides a common set of methods for accessing the bounding box, coordinate transform and TextSpans for the different static text definition: DefineText, DefineText2.
| Method Summary | |
|---|---|
Bounds |
getBounds()
Get the bounding rectangle that completely enclosed the text. |
List<TextSpan> |
getSpans()
Get the list of text spans that define the text to be displayed. |
CoordTransform |
getTransform()
Get the coordinate transform that controls the size, location and orientation of the text when it is displayed. |
void |
setBounds(Bounds rect)
Sets the bounding rectangle that encloses the text. |
void |
setSpans(List<TextSpan> list)
Sets the list of text spans that define the text to be displayed. |
void |
setTransform(CoordTransform matrix)
Sets the coordinate transform that changes the orientation and size of the text displayed. |
| 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 text. Must not be null.CoordTransform getTransform()
void setTransform(CoordTransform matrix)
matrix - an CoordTransform to change the size and orientation of the
text. Must not be null.List<TextSpan> getSpans()
void setSpans(List<TextSpan> list)
list - a list of TextSpan objects that define the text to be
displayed. Must not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||