de.unifreiburg.twodeedoo.view
Interface IBrush

All Known Implementing Classes:
ImagePart

public interface IBrush

I can paint myself to some location of your choice on a Graphics. Unlike IPainter, I have no coordinates of my own.

Author:
anton

Method Summary
 void paint(java.awt.Graphics g, int x, int y)
          Paint somewhere on this graphics.
 

Method Detail

paint

void paint(java.awt.Graphics g,
           int x,
           int y)
Paint somewhere on this graphics.

Parameters:
g - the Graphics
x - x coordinate (screen units)
y - y coordinate (screen units)