|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.Text.Row
public static class Text.Row
A set of contiguous characters in one font, size and color.
| Field Summary | |
|---|---|
protected Font.Chars |
chars
Description of the Field |
protected Color |
color
Description of the Field |
protected boolean |
hasX
Description of the Field |
protected boolean |
hasY
Description of the Field |
protected double |
x
Description of the Field |
protected double |
y
Description of the Field |
| Constructor Summary | |
|---|---|
Text.Row(Font.Chars chars,
Color color,
double x,
double y,
boolean hasX,
boolean hasY)
|
|
| Method Summary | |
|---|---|
Font.Chars |
getChars()
Gets the chars attribute of the Row object |
Color |
getColor()
Gets the color attribute of the Row object |
double |
getX()
Gets the x attribute of the Row object |
double |
getY()
Gets the y attribute of the Row object |
boolean |
hasX()
Description of the Method |
boolean |
hasY()
Description of the Method |
protected void |
write(SWFText text,
boolean changeColor,
boolean changeFont)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Font.Chars chars
protected double x
protected double y
protected boolean hasX
protected boolean hasY
protected Color color
| Constructor Detail |
|---|
public Text.Row(Font.Chars chars,
Color color,
double x,
double y,
boolean hasX,
boolean hasY)
chars - the characters to displaycolor - may be AlphaColor.x - new X position for text - only valid if hasX is truey - new Y position for text - only valid if hasY is truehasX - Description of the ParameterhasY - Description of the Parameter| Method Detail |
|---|
public Font.Chars getChars()
public double getX()
public double getY()
public Color getColor()
public boolean hasX()
public boolean hasY()
protected void write(SWFText text,
boolean changeColor,
boolean changeFont)
throws java.io.IOException
text - Description of the ParameterchangeColor - Description of the ParameterchangeFont - Description of the Parameter
java.io.IOException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||