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–2014
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.