ImageEn, unit imageenview

TImageEnView.LayersRotationAntialias

TImageEnView.LayersRotationAntialias


Declaration


property LayersRotationAntialias: Boolean;


Description


Enables rotation anti-aliasing when layer rotation has completed (to improve their quality). Use LayersRotationFilter to specify the anti-aliasing algorithm.

Default: False


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.MouseInteract := [miRotateLayers];
ImageEnView1.LayersRotationAntialias := True;
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := true;
ImageEnView1.LayersFastDrawing := iefDelayed;


See Also


- LayersRotationFilter
- LayersRotationUseFilterOnPreview
- LayersFastDrawing