Package javaAnd.awt.image
Class BufferedImage
- java.lang.Object
-
- javaAnd.awt.image.BufferedImage
-
public class BufferedImage extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.awt.image.BufferedImage
bufferedImage
static int
TYPE_BYTE_GRAY
static int
TYPE_INT_ARGB
static int
TYPE_INT_RGB
-
Constructor Summary
Constructors Constructor Description BufferedImage()
BufferedImage(int columns, int lines, int typeIntRgb)
BufferedImage(java.awt.image.BufferedImage read)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graphics2D
createGraphics()
void
drawImage(BufferedImage total, int x, int y)
void
drawImage(BufferedImage img, int x, int y, int w, int h)
void
drawLine(int x1, int y1, int x2, int y2, int color)
void
drawOval(int i, int i1, int i2, int i3)
void
drawRect(int x, int y1, int width, int height, ITexture texture)
java.awt.image.BufferedImage
getBufferedImage()
BufferedImage
getGraphics()
int
getHeight()
int
getPixel(int i, int j)
int
getRgb(int i, int j)
int
getRGB(int x, int y)
int
getWidth()
void
setColor(int x, int y, int color)
void
setPixel(int i, int j, int anInt)
void
setRgb(int i, int j, int anInt)
void
setRGB(int i, int j, int anInt)
-
-
-
Field Detail
-
TYPE_INT_RGB
public static final int TYPE_INT_RGB
- See Also:
- Constant Field Values
-
TYPE_INT_ARGB
public static final int TYPE_INT_ARGB
- See Also:
- Constant Field Values
-
TYPE_BYTE_GRAY
public static final int TYPE_BYTE_GRAY
- See Also:
- Constant Field Values
-
bufferedImage
public java.awt.image.BufferedImage bufferedImage
-
-
Method Detail
-
setRGB
public void setRGB(int i, int j, int anInt)
-
setRgb
public void setRgb(int i, int j, int anInt)
-
getBufferedImage
public java.awt.image.BufferedImage getBufferedImage()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getRGB
public int getRGB(int x, int y)
-
drawImage
public void drawImage(BufferedImage img, int x, int y, int w, int h)
-
getGraphics
public BufferedImage getGraphics()
-
createGraphics
public Graphics2D createGraphics()
-
drawImage
public void drawImage(BufferedImage total, int x, int y)
-
setColor
public void setColor(int x, int y, int color)
-
drawLine
public void drawLine(int x1, int y1, int x2, int y2, int color)
-
drawOval
public void drawOval(int i, int i1, int i2, int i3)
-
drawRect
public void drawRect(int x, int y1, int width, int height, ITexture texture)
-
getRgb
public int getRgb(int i, int j)
-
setPixel
public void setPixel(int i, int j, int anInt)
-
getPixel
public int getPixel(int i, int j)
-
-