|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tinyline.tiny2d.TinyBuffer
The TinyBuffer class represents a rectangular array of pixels.
A TinyBuffer defines values for pixels occupying a particular rectangular area of the canvas. The rectangle, known as the TinyBuffer's bounding rectangle, is width, and height values.
Each pixel value is stored in 0xAARRGGBB format, where the high-order byte contains the alpha channel and the remaining bytes contain color components for red, green and blue, respectively. The alpha channel specifies the opacity of the pixel, where a value of 0x00 represents a pixel that is fully transparent and a value of 0xFF represents a fully opaque pixel.
| Field Summary | |
int |
height
The width of this TinyBuffer. |
int[] |
pixels32
The pixel data of this TinyBuffer. |
int |
width
The width of this TinyBuffer. |
| Constructor Summary | |
TinyBuffer()
Creates a new empty TinyBuffer. |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int width
public int height
public int[] pixels32
| Constructor Detail |
public TinyBuffer()
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||