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).


See Also

Public Property  CanUndo
Public Method  UndoAt
Public Method  Undo


Example

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