class Image
extends java.lang.Object
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.Object |
allocateRgbImage(int windowWidth,
int windowHeight,
int[] pBuffer,
int windowSize,
boolean backgroundTransparent) |
(package private) static void |
disposeGraphics(java.lang.Object graphicForText) |
(package private) static void |
drawImage(java.lang.Object g,
java.lang.Object img,
int x,
int y,
int width,
int height) |
(package private) static int[] |
drawImageToBuffer(java.lang.Object gOffscreen,
java.lang.Object imageOffscreen,
java.lang.Object imageobj,
int width,
int height,
int bgcolor) |
(package private) static void |
flush(java.lang.Object image) |
(package private) static java.lang.Object |
getGraphics(java.lang.Object image) |
(package private) static java.lang.Object |
getStaticGraphics(java.lang.Object image,
boolean backgroundTransparent) |
static int[] |
getTextPixels(java.lang.String text,
JmolFont font3d,
java.lang.Object gObj,
java.lang.Object image,
int width,
int height,
int ascent) |
(package private) static int[] |
grabPixels(java.lang.Object imageobj,
int width,
int height) |
(package private) static java.lang.Object |
newBufferedImage(int w,
int h) |
(package private) static java.lang.Object |
newBufferedImage(java.lang.Object image,
int w,
int h) |
static int[] grabPixels(java.lang.Object imageobj, int width, int height)
imageobj
- width
- height
- static int[] drawImageToBuffer(java.lang.Object gOffscreen, java.lang.Object imageOffscreen, java.lang.Object imageobj, int width, int height, int bgcolor)
gOffscreen
- imageOffscreen
- imageobj
- width
- height
- bgcolor
- public static int[] getTextPixels(java.lang.String text, JmolFont font3d, java.lang.Object gObj, java.lang.Object image, int width, int height, int ascent)
text
- font3d
- gObj
- image
- width
- height
- ascent
- static java.lang.Object newBufferedImage(java.lang.Object image, int w, int h)
image
- w
- h
- static java.lang.Object newBufferedImage(int w, int h)
w
- h
- static java.lang.Object allocateRgbImage(int windowWidth, int windowHeight, int[] pBuffer, int windowSize, boolean backgroundTransparent)
windowWidth
- windowHeight
- pBuffer
- windowSize
- backgroundTransparent
- static java.lang.Object getStaticGraphics(java.lang.Object image, boolean backgroundTransparent)
image
- backgroundTransparent
- static java.lang.Object getGraphics(java.lang.Object image)
image
- static void drawImage(java.lang.Object g, java.lang.Object img, int x, int y, int width, int height)
g
- img
- x
- y
- width
- unused in Jmol properheight
- unused in Jmol properstatic void flush(java.lang.Object image)
image
- static void disposeGraphics(java.lang.Object graphicForText)
graphicForText
-