⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphicdisplay.java

📁 单片机上的java虚拟机 用winavr 编译
💻 JAVA
字号:
package nanovm.nibo.drivers;/** * Gives access to a connected graphics display. * @author Nils Springob */public class GraphicDisplay {  /**   * Minimum value for X coordinate   */  public static final int MIN_X = 0;  /**   * Maximum value for X coordinate   */  public static final int MAX_X = 127;  /**   * Minimum value for Y coordinate   */  public static final int MIN_Y = 0;  /**   * Maximum value for Y coordinate   */  public static final int MAX_Y = 63;    /**   * Clear the entire display   */  public static native void clear();    /**   * Set (invisible) cursor to given coordinate   * @param x X-coordinate   * @param y Y-coordinate   */  public static native void gotoXY(int x, int y);  /**   * Print text on display   */  public static native void print(String s);  /**   * Set the proportional mode for text output   * @param proportional true for proportional mode   */  public static native void setProportional(boolean proportional);  /**   * Get the proportional mode for text output   * @return true for proportional mode   */  public static native boolean getProportional();}

⌨️ 快捷键说明

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