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