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

TransformsProvider.ApplyMatrixTransform Method (Matrix, Color, InterpolationMode)

Applies a linear transformation of the bitmap (based on specified matrix).

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

Syntax

Visual Basic
Public Sub ApplyMatrixTransform ( _
	transform As Matrix, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void ApplyMatrixTransform(
	Matrix transform,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

transform

Type: Aurigma.GraphicsMill.Transforms.Matrix

Matrix class instance which specifies a matrix of the linear transformation.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value which specifies the background color for the transformed image.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value which specifies interpolation algorithm used during transformation.

Remarks

You can also use ApplyMatrixTransform class to apply this effect.

See Also

Reference