Package javaAnd.awt.image
Class BufferedImage
java.lang.Object
javaAnd.awt.image.BufferedImage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionBufferedImage
(int columns, int lines, int typeIntRgb) BufferedImage
(BufferedImage read) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
int
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 Details
-
TYPE_INT_RGB
public static final int TYPE_INT_RGB- See Also:
-
TYPE_INT_ARGB
public static final int TYPE_INT_ARGB- See Also:
-
TYPE_BYTE_GRAY
public static final int TYPE_BYTE_GRAY- See Also:
-
bufferedImage
-
-
Constructor Details
-
BufferedImage
public BufferedImage() -
BufferedImage
public BufferedImage(int columns, int lines, int typeIntRgb) -
BufferedImage
-
-
Method Details
-
setRGB
public void setRGB(int i, int j, int anInt) -
setRgb
public void setRgb(int i, int j, int anInt) -
getBufferedImage
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getRGB
public int getRGB(int x, int y) -
drawImage
-
getGraphics
-
createGraphics
-
drawImage
-
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
-
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)
-