public class Platform extends Platform
| Constructor and Description |
|---|
Platform() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawImage(Object g,
Object img,
int x,
int y,
int width,
int height,
boolean isDTI) |
Object |
getGraphics(Object image) |
Object |
getStaticGraphics(Object image,
boolean backgroundTransparent) |
int[] |
getTextPixels(String text,
javajs.awt.Font font3d,
Object gObj,
Object image,
int width,
int height,
int ascent) |
Object |
newBufferedImage(Object image,
int w,
int h) |
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, waitForDisplaypublic void drawImage(Object g, Object img, int x, int y, int width, int height, boolean isDTI)
public int[] getTextPixels(String text, javajs.awt.Font font3d, Object gObj, Object image, int width, int height, int ascent)
getTextPixels in interface javajs.api.GenericPlatformgetTextPixels in class Platformpublic Object getGraphics(Object image)
getGraphics in interface javajs.api.GenericPlatformgetGraphics in class Platformpublic Object getStaticGraphics(Object image, boolean backgroundTransparent)
getStaticGraphics in interface javajs.api.GenericPlatformgetStaticGraphics in class Platformpublic Object newBufferedImage(Object image, int w, int h)
newBufferedImage in interface javajs.api.GenericPlatformnewBufferedImage in class Platformpublic Object newOffScreenImage(int w, int h)
newOffScreenImage in interface javajs.api.GenericPlatformnewOffScreenImage in class Platform