ImageEn, unit imageenview

TImageEnView.LayersRotationFilter

TImageEnView.LayersRotationFilter


Declaration


property LayersRotationFilter: TIEAntialiasMode;


Description


Specifies the rotation filter to use when layers rotation has completed. This is important to optimize the quality of rotated image layers.

Note: You also need to set LayersRotationAntialias := True;

Default: ierFast


Example


// Rotate the current layer 45 degrees clockwise at highest quality
ImageEnView1.CurrentLayer.Rotate := -45;
ImageEnView1.LayersRotationAntialias := True;
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := true;
ImageEnView1.LayersFastDrawing := iefDelayed;

// Allow the user to free rotate layers at highest quality
ImageEnView1.MouseInteractLayers := [mlRotateLayers];
ImageEnView1.LayersRotationAntialias := True;
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := true;
ImageEnView1.LayersFastDrawing := iefDelayed;


See Also


- LayersRotationAntialias
- LayersRotationUseFilterOnPreview
- LayersFastDrawing