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.

Default: ierFast


Anti-alias Modes





Example

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

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


Compatibility Information

Prior to 9.0.0, there was a separate LayersRotationAntialias property that enabled the LayersRotationFilter value.

Code that was:
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationAntialias := True;

Should become:
ImageEnView1.LayersRotationFilter := ierBilinear;

Code that was:
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationAntialias := False;

Should become:
ImageEnView1.LayersRotationFilter := ierNone;


See Also

LayersRotationUseFilterOnPreview
LayersFastDrawing