Class sprite.RectangleSprite
All Packages Class Hierarchy This Package Previous Next Index
Class sprite.RectangleSprite
java.lang.Object
|
+----sprite.Sprite
|
+----sprite.RectangleSprite
- public class RectangleSprite
- extends Sprite
-
RectangleSprite(SpriteArea, int, int, int, int)
-
-
Draw(Graphics)
-
-
Inside(int, int)
-
-
Resize(int, int)
-
-
SetFill(Color)
-
-
SetPen(Color)
-
RectangleSprite
public RectangleSprite(SpriteArea area,
int x,
int y,
int width,
int height)
SetPen
public void SetPen(Color color)
SetFill
public void SetFill(Color color)
Resize
public void Resize(int width,
int height)
Inside
public boolean Inside(int x,
int y)
- Overrides:
- Inside in class Sprite
Draw
public void Draw(Graphics g)
- Overrides:
- Draw in class Sprite
All Packages Class Hierarchy This Package Previous Next Index