ImageEn, unit imageenproc

TImageEnProc.Flip

TImageEnProc.Flip


Declaration

procedure Flip(dir: TFlipDir);


Description

Flip (mirror) the current image across the horizontal or vertical axis. dir is the flip direction.

Note: A UI for this is available to your users in the Image Processing dialog


Demos

Demo  Demos\ImageEditing\CompleteEditor\PhotoEn.dpr
Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr


Examples

// Flip the image horizontally
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );



ImageEnView1.Proc.Flip( fdHorizontal );


                

See Also

Global Image Methods