📄 shape1.java
字号:
public class Shape1 extends Shape{
public Shape1(){
table = Table.mytable;
shape = setShape();
}
private Coordinate[] setShape(){
Coordinate [] coor = new Coordinate[4];
for(int i = 0; i < coor.length; i ++){
coor[i] = new Coordinate();
}
coor[0].x = 0;coor[0].y = 0;
coor[1].x = 0;coor[1].y = 1;
coor[2].x = 1;coor[2].y = 0;
coor[3].x = 1;coor[3].y = 1;
return coor;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -