public class ImageBufferDownload extends java.lang.Object implements IImageBuffer
| Modifier and Type | Field and Description |
|---|---|
private int[] |
imageData |
private int |
imageHeight |
private int |
imageWidth |
| Constructor and Description |
|---|
ImageBufferDownload() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
hasTransparency(int p_78435_1_,
int p_78435_2_,
int p_78435_3_,
int p_78435_4_)
Returns true if the given area of the image contains transparent pixels
|
java.awt.image.BufferedImage |
parseUserSkin(java.awt.image.BufferedImage image) |
private void |
setAreaOpaque(int p_78433_1_,
int p_78433_2_,
int p_78433_3_,
int p_78433_4_)
Makes the given area of the image opaque
|
private void |
setAreaTransparent(int p_78434_1_,
int p_78434_2_,
int p_78434_3_,
int p_78434_4_)
Makes the given area of the image transparent if it was previously completely opaque (used to remove the outer
layer of a skin around the head if it was saved all opaque; this would be redundant so it's assumed that the skin
maker is just using an image editor without an alpha channel)
|
void |
skinAvailable() |
private int[] imageData
private int imageWidth
private int imageHeight
public java.awt.image.BufferedImage parseUserSkin(java.awt.image.BufferedImage image)
parseUserSkin in interface IImageBufferpublic void skinAvailable()
skinAvailable in interface IImageBufferprivate void setAreaTransparent(int p_78434_1_,
int p_78434_2_,
int p_78434_3_,
int p_78434_4_)
private void setAreaOpaque(int p_78433_1_,
int p_78433_2_,
int p_78433_3_,
int p_78433_4_)
private boolean hasTransparency(int p_78435_1_,
int p_78435_2_,
int p_78435_3_,
int p_78435_4_)