|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproguard.gui.splash.RectangleSprite
public class RectangleSprite
This Sprite represents an animated rounded rectangle. It can optionally be filled.
| Constructor Summary | |
|---|---|
RectangleSprite(boolean filled,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y,
proguard.gui.splash.VariableInt width,
proguard.gui.splash.VariableInt height)
Creates a new rectangular RectangleSprite. |
|
RectangleSprite(boolean filled,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y,
proguard.gui.splash.VariableInt width,
proguard.gui.splash.VariableInt height,
proguard.gui.splash.VariableInt arcWidth,
proguard.gui.splash.VariableInt arcHeight)
Creates a new RectangleSprite with rounded corners. |
|
| 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 RectangleSprite(boolean filled,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y,
proguard.gui.splash.VariableInt width,
proguard.gui.splash.VariableInt height)
filled - specifies whether the rectangle should be filled.color - the variable color of the rectangle.x - the variable x-ordinate of the upper-left corner of the rectangle.y - the variable y-ordinate of the upper-left corner of the rectangle.width - the variable width of the rectangle.height - the variable height of the rectangle.
public RectangleSprite(boolean filled,
proguard.gui.splash.VariableColor color,
proguard.gui.splash.VariableInt x,
proguard.gui.splash.VariableInt y,
proguard.gui.splash.VariableInt width,
proguard.gui.splash.VariableInt height,
proguard.gui.splash.VariableInt arcWidth,
proguard.gui.splash.VariableInt arcHeight)
filled - specifies whether the rectangle should be filled.color - the variable color of the rectangle.x - the variable x-ordinate of the upper-left corner of the rectangle.y - the variable y-ordinate of the upper-left corner of the rectangle.width - the variable width of the rectangle.height - the variable height of the rectangle.arcWidth - the variable width of the corner arcs.arcHeight - the variable height of the corner arcs.| 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||