Flip Class

Flips an image.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public sealed class Flip : MaskTransform

Remarks

This transformation supports the only one setting - flip type (Type).

Examples

The following code flips an image horizontally.

C#
using (var bitmap = new Bitmap(@"Images\in.jpg"))
using (var flip = new Flip(FlipType.Horizontal))
{
    using (var result = flip.Apply(bitmap))
    {
        result.Save(@"Images\Output\out.jpg");
    }
}

Inheritance Hierarchy

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also

Reference

Manual