ImageEn, unit imageenproc

TImageEnProc.UndoRect

TImageEnProc.UndoRect


Declaration

procedure UndoRect(x1, y1, x2, y2: Integer);


Description

Same as Undo, except that it only restores the specified rectangle.

This is useful for applications that allow interactive user drawing (see the icon editor and "Brush" demos).


Example

ImageEnView1.Proc.UndoRect(100, 100, 200, 200);


See Also

CanUndo
UndoAt
Undo