proguard.gui.splash
Class FontSprite
java.lang.Object
proguard.gui.splash.FontSprite
- All Implemented Interfaces:
- Sprite
public class FontSprite
- extends Object
- implements Sprite
This Sprite sets the font for another given sprite.
- Author:
- Eric Lafortune
|
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 |
FontSprite
public FontSprite(proguard.gui.splash.VariableFont font,
Sprite sprite)
- Creates a new FontSprite.
- Parameters:
font - the variable Font of the given sprite.sprite - the sprite that will be provided of a font and painted.
paint
public void paint(Graphics graphics,
long time)
- Description copied from interface:
Sprite
- Paints the object.
- Specified by:
paint in interface Sprite
- Parameters:
graphics - the Graphics to paint on.time - the time since the start of the animation, expressed in
milliseconds.
Copyright © 2012. All Rights Reserved.