?? eraser.java
字號(hào):
/* 軟件作者: 熊錫君,時(shí)守剛 軟件版權(quán)歸作者所有,其他人可以對(duì)軟件進(jìn)行修改,可以使用軟件代碼,(按類使用請(qǐng)保留作者信息)*/package Painter;import java.awt.*;import main.MyCanvas;public class Eraser extends Shape { private int x; private int y; public Eraser(Color colorPen, Color colorBrush, int lineWide, int x,int y) { super(colorPen, colorBrush, lineWide); this.x = x; this.y = y; } public boolean IsPoint(int x,int y,float j1) { return false; } public void draw(Graphics g,int m_DrawMode,Color bgColor) { g.setColor(bgColor); int wide = MyCanvas.ERASER_STROKES[super.m_LineWide]; g.fillRect(this.x,this.y,wide,wide); }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -