MatrixTransform.Apply Method (Bitmap, Matrix, Color, InterpolationMode)

Produces a transformed 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,
	Matrix matrix,
	Color backgroundColor,
	InterpolationMode mode
)

Parameters

source

Type: Aurigma.GraphicsMill.Bitmap

An Bitmap to transform.
matrix

Type: Aurigma.GraphicsMill.Transforms.Matrix

A transformation Matrix.
backgroundColor

Type: Aurigma.GraphicsMill.Color

mode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

A InterpolationMode specifying interpolation algorithm used during the transformation.

Return Value

A new Bitmap containing the result of this transformation.

See Also

Reference