proguard.gui.splash
Class CircleSprite

java.lang.Object
  extended by proguard.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.

Author:
Eric Lafortune

Constructor Summary
CircleSprite(boolean filled, 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.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.
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.


Copyright © 2012. All Rights Reserved.