BezierTransform.Apply Method (Bitmap, PointF[], Color, InterpolationMode)

Produces a transformed copy of a given bitmap using the given Bezier surface, background color and interpolation mode.

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

Syntax

C#
public static Bitmap Apply(
	Bitmap source,
	PointF[] controlPoints,
	Color backgroundColor,
	InterpolationMode mode
)

Parameters

source

Type: Aurigma.GraphicsMill.Bitmap

A Bitmap to transform.
controlPoints

Type: System.Drawing.PointF[]

Sixteen control points that defines a Bezier surface for the transform.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Color to fill empty spaces that can occur as a result of transformation.
mode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

An InterpolationMode specifying interpolation algorithm used during the transformation.

See Also

Reference