shapeinterface.java

来自「java程序设计与问题解决的源代码 含书上程序的源代码和一些补充的程序源码」· Java 代码 · 共 28 行

JAVA
28
字号
/** Interface for simple shapes drawn on the screen using keyboard characters. */public interface ShapeInterface{    /**     Sets the offset for the shape.    */    public void setOffset(int newOffset);    /**     Returns the offset for the shape.    */	public int getOffset();    /**     Draws the shape at lineNumber lines down     from the current line.    */    public void drawAt(int lineNumber);    /**     Draws the shape at the current line.    */    public void drawHere();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?