📄 empty.java
字号:
//package paint2d;
import java.awt.*;
import java.awt.geom.*;
/** An Empty is a Picture that consists of nothing.
It has no attributes, and only the default constructor.
*/
public class Empty extends Picture {
/** Apply transformation t to this Picture,
and display it using graphics g2.
In fact, this operation does nothing!
*/
public void transDisplay
(AffineTransform t, Graphics2D g2) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -