public class Platform extends Platform
CURSOR_CROSSHAIR, CURSOR_DEFAULT, CURSOR_HAND, CURSOR_MOVE, CURSOR_WAIT, CURSOR_ZOOM
Constructor and Description |
---|
Platform() |
Modifier and Type | Method and Description |
---|---|
void |
drawImage(java.lang.Object g,
java.lang.Object img,
int x,
int y,
int width,
int height,
boolean isDTI) |
java.lang.Object |
getGraphics(java.lang.Object image) |
java.lang.Object |
getStaticGraphics(java.lang.Object image,
boolean backgroundTransparent) |
int[] |
getTextPixels(java.lang.String text,
Font font3d,
java.lang.Object gObj,
java.lang.Object image,
int width,
int height,
int ascent) |
java.lang.Object |
newBufferedImage(java.lang.Object image,
int w,
int h) |
java.lang.Object |
newOffScreenImage(int w,
int h) |
allocateRgbImage, convertPointFromScreen, createImage, disposeGraphics, drawImageToBuffer, flushImage, fontStringWidth, forceAsyncLoad, getBufferedFileInputStream, getDateFormat, getFontAscent, getFontDescent, getFontMetrics, getFullScreenDimensions, getImageDialog, getImageHeight, getImageWidth, getJsObjectInfo, getLocalUrl, getMenuPopup, getMouseManager, getURLContents, getURLContentsStatic, grabPixels, hasFocus, isHeadless, isSingleThreaded, Jmol, newFile, newFont, notifyEndOfRendering, prompt, renderScreenImage, repaint, requestFocusInWindow, setCursor, setTransparentCursor, setViewer, waitForDisplay
public void drawImage(java.lang.Object g, java.lang.Object img, int x, int y, int width, int height, boolean isDTI)
drawImage
in interface GenericPlatform
drawImage
in class Platform
public int[] getTextPixels(java.lang.String text, Font font3d, java.lang.Object gObj, java.lang.Object image, int width, int height, int ascent)
getTextPixels
in interface GenericPlatform
getTextPixels
in class Platform
public java.lang.Object getGraphics(java.lang.Object image)
getGraphics
in interface GenericPlatform
getGraphics
in class Platform
public java.lang.Object getStaticGraphics(java.lang.Object image, boolean backgroundTransparent)
getStaticGraphics
in interface GenericPlatform
getStaticGraphics
in class Platform
public java.lang.Object newBufferedImage(java.lang.Object image, int w, int h)
newBufferedImage
in interface GenericPlatform
newBufferedImage
in class Platform
public java.lang.Object newOffScreenImage(int w, int h)
newOffScreenImage
in interface GenericPlatform
newOffScreenImage
in class Platform