下面列出了java.awt.Canvas#getGraphicsConfiguration ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
if (transparency == 0) {
return gc.createCompatibleVolatileImage(w, h);
} else {
return gc.createCompatibleVolatileImage(w, h, transparency);
}
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}
public Image makeImage(TestEnvironment env, int w, int h) {
Canvas c = env.getCanvas();
GraphicsConfiguration gc = c.getGraphicsConfiguration();
return gc.createCompatibleImage(w, h, transparency);
}