empty.java
来自「java 图形处理」· Java 代码 · 共 20 行
JAVA
20 行
//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 + =
减小字号Ctrl + -
显示快捷键?