Search Results for

    Show / Hide Table of Contents

    Class AnyBitmap.FlipMode

    Provides enumeration over how a image should be flipped.

    Inheritance
    System.Object
    AnyBitmap.FlipMode
    Namespace: IronSoftware.Drawing
    Assembly: IronSoftware.Drawing.Common.dll
    Syntax
    public sealed class FlipMode : Enum

    FlipMode controls the axis along which AnyBitmap mirrors an image. None leaves the bitmap unchanged and is the safe default. Horizontal flips pixels left-to-right across the vertical axis, and Vertical flips pixels top-to-bottom across the horizontal axis. Pass the value wherever an AnyBitmap flip operation is accepted. See the IronDrawing documentation for setup details.

    AnyBitmap flipped = bitmap.Flip(AnyBitmap.FlipMode.Horizontal);

    Fields

    Horizontal

    Flip the image horizontally.

    Declaration
    public const AnyBitmap.FlipMode Horizontal
    Field Value
    Type Description
    AnyBitmap.FlipMode

    None

    Don't flip the image.

    Declaration
    public const AnyBitmap.FlipMode None
    Field Value
    Type Description
    AnyBitmap.FlipMode

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    Vertical

    Flip the image vertically.

    Declaration
    public const AnyBitmap.FlipMode Vertical
    Field Value
    Type Description
    AnyBitmap.FlipMode
    ☀
    ☾
    Downloads
    • Download with Nuget
    In This Article
    Back to top
    Install with Nuget