|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.gui.splash.TextSprite
This Sprite represents a text.
| Constructor Summary | |
TextSprite(proguard.gui.splash.VariableString[] text,
proguard.gui.splash.VariableInt spacing,
proguard.gui.splash.VariableFont font,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y)
Creates a new TextSprite containing a multiple lines of text. |
|
TextSprite(proguard.gui.splash.VariableString text,
proguard.gui.splash.VariableFont font,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y)
Creates a new TextSprite containing a single line of text. |
|
| Method Summary | |
void |
paint(Graphics graphics,
long time)
Paints the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextSprite(proguard.gui.splash.VariableString text,
proguard.gui.splash.VariableFont font,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y)
text - the variable text string.font - the variable text font.color - the variable color.x - the variable x-coordinate of the lower-left corner of the text.y - the variable y-coordinate of the lower-left corner of the text.
public TextSprite(proguard.gui.splash.VariableString[] text,
proguard.gui.splash.VariableInt spacing,
proguard.gui.splash.VariableFont font,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y)
text - the variable text strings.spacing - the variable spacing between the lines of text.font - the variable text font.color - the variable color.x - the variable x-coordinate of the lower-left corner of the
first line of text.y - the variable y-coordinate of the lower-left corner of the
first line of text.| Method Detail |
public void paint(Graphics graphics,
long time)
Sprite
paint in interface Spritegraphics - the Graphics to paint on.time - the time since the start of the animation, expressed in
milliseconds.
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||