Skip to content

Rotate Processor

The Rotate processor lets you rotate the image as you desire.

Properties

RotationAmount - RotationDegrees

Gets or sets the amount of rotation to apply to the image. Can be set to one of the following:

public enum RotationDegrees
        {
            Zero = 0,
            Ninety = 90,
            OneHundredAndEighty = 180,
            TwoHundredAndSeventy = 270,
            NegativeNinety = -90,
            NegativeOneHundredAndEighty = -180,
            NegativeTwoHundredAndSeventy = -270
        }

Example Usage

Xaml

<Image.Effects>
    <auroraEffects:ImageProcessingEffect>
        <auroraEffects:ImageProcessingEffect.ImageProcessingEffects>
            <auroraImageProcessing:Rotate RotationAmount="Ninety" />
        </auroraEffects:ImageProcessingEffect.ImageProcessingEffects>
    </auroraEffects:ImageProcessingEffect>
</Image.Effects>

C#