debugcanvas.java

来自「qrcode的java开源版本」· Java 代码 · 共 20 行

JAVA
20
字号
package jp.sourceforge.qrcode.util;import jp.sourceforge.qrcode.geom.Line;import jp.sourceforge.qrcode.geom.Point;/*  * This class must be an "edition independent" class for debug information controll. * I think it's good idea to modify this class with a adapter pattern */public interface DebugCanvas {	public  void println(String string);	public  void drawPoint(Point point, int color);	public  void drawCross(Point point, int color);	public  void drawPoints(Point[] points, int color);	public  void drawLine(Line line, int color);	public  void drawLines(Line[] lines, int color);	public  void drawPolygon(Point[] points, int color);	public  void drawMatrix(boolean[][] matrix);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?