ImageEn, unit iexUserInteractions |
|
TIERotateToolInteraction
Declaration
TIERotateToolInteraction = class(TIEUserInteraction);
Description
A class of
TIEUserInteraction that controls interaction for the Rotate tool (when
MouseInteractGeneral is
miRotateTool).
The Rotate tool allows the user to drag the image to freely rotate, use the left or right keys to rotate or the up/down keys to flip.
// Enable Free Rotate mode
ImageEnView1.RotateTool.FastPreview := True; // Generally recommended for better performance with large images
ImageEnView1.MouseInteractGeneral := [miRotateTool];
// Cancel rotation (revert to 0 rotation)
ImageEnView1.RotateTool.Cancel();
| Demos\ImageEditing\RotateTool\RotateTool.dpr |
See Also
◼ImageEn Interactive Tools
◼OnUserInteraction
◼TImageEnView Actions