Class ImageData
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.opengl.ImageData
-
public class ImageData extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyPixelsFrom(ImageData input, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)
void
drawLayer(ImageData input, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)
ImageData
fillAlpha()
void
getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)
ImageData
getSubImage(int x, int y, int pw, int ph)
static ImageData
loadImageFile(byte[] data)
static ImageData
loadImageFile(java.io.InputStream data)
static ImageData
loadImageFile(java.lang.String path)
ImageData
swapRB()
static int
swapRB(int c)
-
-
-
Method Detail
-
fillAlpha
public ImageData fillAlpha()
-
getSubImage
public ImageData getSubImage(int x, int y, int pw, int ph)
-
loadImageFile
public static final ImageData loadImageFile(java.lang.String path)
-
loadImageFile
public static final ImageData loadImageFile(java.io.InputStream data)
-
loadImageFile
public static final ImageData loadImageFile(byte[] data)
-
getRGB
public void getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)
-
copyPixelsFrom
public void copyPixelsFrom(ImageData input, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)
-
drawLayer
public void drawLayer(ImageData input, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2)
-
swapRB
public ImageData swapRB()
-
swapRB
public static int swapRB(int c)
-
-