📄 ibasicbrush.java
字号:
package LYD.Draw;
import java.awt.Graphics;
import java.awt.Color;
public interface IBasicBrush
{
public void setWidth(float w);
public float getWidth();
public void setColor(Color c);
public Color getColor();
public void setGraphics(Graphics g);
public void paintLine(int x1,int y1,int x2,int y2);
public void paintRectangle(int x1,int y1,int width,int height);
public void paintCircle(int x,int y,int r);
public void paintOval(int x,int y,int width,int weight);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -