This documentation is for the old version. Go to the latest Graphics Mill docs

Rotate Constructor (Single, Color, InterpolationMode)

Creates and initializes Rotate class instance. All rotation parameters are specified here.

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

Syntax

Visual Basic
Public Sub New ( _
	angle As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public Rotate(
	float angle,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

angle

Type: System.Single

An angle (in degrees) to rotate on. You can change it later via Angle property.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value specifying background color for the rotated image. You can change it later via BackgroundColor property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during rotation. You can change it later via InterpolationMode property.

See Also

Reference