java.awt.ImageCapabilities Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package java.awt;
@SuppressWarnings({"WeakerAccess", "unused"})
public class ImageCapabilities implements Cloneable {
private boolean accelerated = false;
public ImageCapabilities(boolean accelerated) {
this.accelerated = accelerated;
}
public boolean isAccelerated() {
return accelerated;
}
public boolean isTrueVolatile() {
return false;
}
public Object clone() {
try {
return super.clone();
} catch (CloneNotSupportedException e) {
throw new RuntimeException(e);
}
}
}