Modifier | Constructor and Description |
---|---|
protected |
Scheibe() |
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics g,
int x,
int y,
int width,
int height)
Die (eine!)
|
public void paint(Graphics g, int x, int y, int width, int height)
paint
in interface Paintable
g
- The notorious Graphics
object (that can
nowadays be expected to be a Graphics2D
).x
- y are the left upper corner of where to paint;
y grows downwards [sic!]width
- height are the size of an surrounding rectangle
to paint within; if null (0, 0) either this object's
"natural" size (if there is such thing) shall be used
or nothing is to be done