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, waitForDisplay
public 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.GenericPlatform
getTextPixels
in class Platform
public Object getGraphics(Object image)
getGraphics
in interface javajs.api.GenericPlatform
getGraphics
in class Platform
public Object getStaticGraphics(Object image, boolean backgroundTransparent)
getStaticGraphics
in interface javajs.api.GenericPlatform
getStaticGraphics
in class Platform
public Object newBufferedImage(Object image, int w, int h)
newBufferedImage
in interface javajs.api.GenericPlatform
newBufferedImage
in class Platform
public Object newOffScreenImage(int w, int h)
newOffScreenImage
in interface javajs.api.GenericPlatform
newOffScreenImage
in class Platform