|
AlgART Home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RectangleUpdater extends Context
The context allowing to inform the application that some rectangular region of some 2D matrix or image has been updated.
For example, if some algorithm prepares an image for drawing, it is a good idea to request this context and, if it is provided, to notify the application about every new ready region of the image. Then application will be able to pass corresponding context to the algorithm and perform drawing ready portions of the image, not waiting for finishing the algorithm.
AlgART Laboratory 2007-2013
| Modifier and Type | Method and Description |
|---|---|
void |
updateRectangle(double left,
double top,
double width,
double height)
Informs that the given rectangular region of some 2D object is updated. |
| Methods inherited from interface net.algart.contexts.Context |
|---|
as, is |
| Method Detail |
|---|
void updateRectangle(double left,
double top,
double width,
double height)
left - the x-coordinate of the top left vertex of the rectangle.top - the y-coordinate of the top left vertex of the rectangle.width - the width of the rectangle.height - the width of the rectangle.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||