This class represents an image
Defined in: Image.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
jls.util.Image(width, height, mode)
Creates an image.
|
| Method Attributes | Method Name and Description |
|---|---|
|
Returns the image buffer.
|
|
|
Returns the image height.
|
|
|
getPixel(x, y)
Returns a pixel value.
|
|
|
getWidth()
Returns the image width.
|
|
| <static> |
jls.util.Image.readBMP(input)
Reads a BMP.
|
| <static> |
jls.util.Image.readJPEG(input)
Reads a JPEG.
|
|
setPixel(x, y, r, g, b)
Sets a pixel.
|