class Image extends Object
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
(package private) static Object |
allocateRgbImage(int windowWidth,
int windowHeight,
int[] pBuffer,
int windowSize,
boolean backgroundTransparent) |
(package private) static void |
disposeGraphics(Object graphicForText) |
(package private) static void |
drawImage(Object g,
Object img,
int x,
int y,
int width,
int height) |
(package private) static int[] |
drawImageToBuffer(Object gOffscreen,
Object imageOffscreen,
Object imageobj,
int width,
int height,
int bgcolor) |
(package private) static void |
flush(Object image) |
(package private) static Object |
getGraphics(Object image) |
(package private) static Object |
getStaticGraphics(Object image,
boolean backgroundTransparent) |
static int[] |
getTextPixels(String text,
javajs.awt.Font font3d,
Object gObj,
Object image,
int width,
int height,
int ascent) |
(package private) static int[] |
grabPixels(Object imageobj,
int width,
int height) |
(package private) static Object |
newBufferedImage(int w,
int h) |
(package private) static Object |
newBufferedImage(Object image,
int w,
int h) |
static int[] grabPixels(Object imageobj, int width, int height)
imageobj
- width
- height
- static int[] drawImageToBuffer(Object gOffscreen, Object imageOffscreen, Object imageobj, int width, int height, int bgcolor)
gOffscreen
- imageOffscreen
- imageobj
- width
- height
- bgcolor
- public static int[] getTextPixels(String text, javajs.awt.Font font3d, Object gObj, Object image, int width, int height, int ascent)
text
- font3d
- gObj
- image
- width
- height
- ascent
- static Object newBufferedImage(Object image, int w, int h)
image
- w
- h
- static Object newBufferedImage(int w, int h)
w
- h
- static Object allocateRgbImage(int windowWidth, int windowHeight, int[] pBuffer, int windowSize, boolean backgroundTransparent)
windowWidth
- windowHeight
- pBuffer
- windowSize
- backgroundTransparent
- static Object getStaticGraphics(Object image, boolean backgroundTransparent)
image
- backgroundTransparent
- static void drawImage(Object g, 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(Object image)
image
- static void disposeGraphics(Object graphicForText)
graphicForText
-