Rotate.Apply Method (Bitmap, Single, Color, InterpolationMode)

Produces a rotated copy of a given bitmap. The source bitmap remains unchanged.

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

Syntax

C#
public static Bitmap Apply(
	Bitmap source,
	float angle,
	Color backgroundColor,
	InterpolationMode mode
)

Parameters

source

Type: Aurigma.GraphicsMill.Bitmap

An Bitmap to rotate.
angle

Type: System.Single

The angle to rotate the image at (in degrees).
backgroundColor

Type: Aurigma.GraphicsMill.Color

mode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

A InterpolationMode specifying interpolation algorithm used during the rotate.

Return Value

A new Bitmap containing the result of rotate transformation.

See Also

Reference