|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The TinyProducer interface provides an interface for objects which can produce the image data from the TinyBuffer object (pixels buffer). The TinyLine 2D API supports two imaging models:
If your application needs the producer/consumer model you need to provide the TinyProducer interface implementation.
| Method Summary | |
boolean |
hasConsumer()
Determine if there is a consumer that is currently interested in data from this TinyProducer. |
void |
imageComplete()
The imageComplete method is called when the TinyProducer is finished delivering all of the pixels to a consumer. |
void |
sendPixels()
Send a rectangular region of the buffer of pixels to any consumer that is interested in the data from this TinyProducer. |
| Method Detail |
public boolean hasConsumer()
public void sendPixels()
public void imageComplete()
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||