graphicdraw.java
来自「手机拼图游戏:J2ME游戏」· Java 代码 · 共 23 行
JAVA
23 行
package util;
import javax.microedition.lcdui.Graphics;
/**
* Created by IntelliJ IDEA.
* User: robai
* Date: 2007-2-28
* Time: 12:28:19
* To change this template use File | Settings | File Templates.
*/
public class GraphicDraw {
public void drawLingRectangle(Graphics g,int x,int y,int w,int h)
{
g.setColor(0xffdddd);
g.drawLine(x,y,x+w,y);
g.drawLine(x,y,x,y+h);
g.drawLine(x+w,y,x+w,y+h);
g.drawLine(x,y+h,x+w,y+h);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?