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.


Example

// 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();


Demo

Demo  Demos\ImageEditing\RotateTool\RotateTool.dpr


Methods and Properties

Public Property  AntialiasMode
Public Property  AutoCrop
Public Property  BackgroundColor
Public Method  Cancel (Same as clicking "Esc")
Public Property  CropAlgorithm
Public Property  FastPreview
Public Property  KeyboardRotateStep
Public Property  MouseRotateStep
Public Property  MouseRotateShiftStep
Public Property  MouseSensitivity
Public Property  Rotation
Public Property  UseAntialiasOnPreview


See Also

 OnUserInteraction
 TImageEnView Actions