Devesprit.ImageProcessor & Devesprit.ImageServer
Rotate

Description:

Rotates the current image by the given angle without clipping.

Method Declaration
Copy Code
public ImageFactory Rotate(float degrees)

Parameters:

degrees The angle at which to rotate the image.

Assembly:

Devesprit.ImageProcessor

Example
Copy Code
new ImageFactory().Load(@"My-Image-Path").Rotate(45).BackgroundColor(Color.White);

Original

 

Result