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