ProGuard

proguard.gui.splash
Class CircleSprite

java.lang.Object
  extended byproguard.gui.splash.CircleSprite
All Implemented Interfaces:
Sprite

public class CircleSprite
extends Object
implements Sprite

This Sprite represents an animated circle. It can optionally be filled.


Constructor Summary
CircleSprite(boolean filled, proguard.gui.splash.VariableColor color, proguard.gui.splash.VariableInt x, proguard.gui.splash.VariableInt y, proguard.gui.splash.VariableInt radius)
          Creates a new CircleSprite.
 
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

CircleSprite

public CircleSprite(boolean filled,
                    proguard.gui.splash.VariableColor color,
                    proguard.gui.splash.VariableInt x,
                    proguard.gui.splash.VariableInt y,
                    proguard.gui.splash.VariableInt radius)
Creates a new CircleSprite.

Parameters:
filled - specifies whether the rectangle should be filled.
color - the variable color of the circle.
x - the variable x-coordinate of the center of the circle.
y - the variable y-coordinate of the center of the circle.
radius - the variable radius of the circle.
Method Detail

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.

ProGuard