Package zombie.core.textures
Class ImageData
java.lang.Object
zombie.core.textures.ImageData
- All Implemented Interfaces:
java.io.Serializable
public class ImageData
extends java.lang.Object
implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static int
BufferSize
static WrappedBuffer
data
int
id
boolean[]
mask
-
Constructor Summary
Constructors Constructor Description ImageData(int int1, int int2)
ImageData(java.awt.image.BufferedImage bufferedImage)
ImageData(java.io.BufferedInputStream bufferedInputStream, boolean boolean1)
ImageData(java.io.BufferedInputStream bufferedInputStream, boolean boolean1, Texture.PZFileformat pZFileformat)
ImageData(java.lang.String string)
ImageData(TextureID textureID, WrappedBuffer wrappedBuffer)
-
Method Summary
Modifier and Type Method Description static ImageData
createSteamAvatar(long long1)
WrappedBuffer
getData()
int
getHeight()
int
getHeightHW()
int
getWidth()
int
getWidthHW()
boolean
isSolid()
void
Load(java.awt.image.BufferedImage bufferedImage)
void
makeTransp(byte byte1, byte byte2, byte byte3)
void
makeTransp(byte byte1, byte byte2, byte byte3, byte byte4)
void
setData(java.awt.image.BufferedImage bufferedImage)
void
setData(java.awt.image.Raster raster)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
data
-
mask
public boolean[] mask -
BufferSize
public static int BufferSize -
id
public int id
-
-
Constructor Details
-
ImageData
-
ImageData
public ImageData(java.awt.image.BufferedImage bufferedImage) -
ImageData
public ImageData(java.lang.String string) -
ImageData
public ImageData(int int1, int int2) -
ImageData
public ImageData(java.io.BufferedInputStream bufferedInputStream, boolean boolean1, Texture.PZFileformat pZFileformat) -
ImageData
public ImageData(java.io.BufferedInputStream bufferedInputStream, boolean boolean1)
-
-
Method Details
-
Load
public void Load(java.awt.image.BufferedImage bufferedImage) -
createSteamAvatar
-
getData
-
makeTransp
public void makeTransp(byte byte1, byte byte2, byte byte3) -
makeTransp
public void makeTransp(byte byte1, byte byte2, byte byte3, byte byte4) -
setData
public void setData(java.awt.image.BufferedImage bufferedImage) -
setData
public void setData(java.awt.image.Raster raster) -
getHeight
public int getHeight() -
getHeightHW
public int getHeightHW() -
isSolid
public boolean isSolid() -
getWidth
public int getWidth() -
getWidthHW
public int getWidthHW()
-