2: /**
3: Interface for simple shapes drawn on
4: the screen using keyboard characters.
5: */
6: public interface ShapeInterface
7: {
8: /**
9: Sets the offset for the drawing.
10: */
11: public void setOffset(int newOffset);
13: /**
14: Returns the offset for the drawing.
15: */
16: public int getOffset();
18: /**
19: Draws the shape at lineNumber lines down
20: from the current line.
21: */
22: public void drawAt(int lineNumber);
24: /**
25: Draws the shape at the current line.
26: */
27: public void drawHere();
28: }