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

Combiner Constructor (Bitmap, RectangleF, RectangleF, CombineMode, Single, InterpolationMode)

Creates new instance of the Combiner class. You can set all transform parameters.

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

Syntax

Visual Basic
Public Sub New ( _
	sourceBitmap As Bitmap, _
	destinationRectangle As RectangleF, _
	sourceRectangle As RectangleF, _
	combineMode As CombineMode, _
	opacity As Single, _
	interpolationMode As InterpolationMode _
)
C#
public Combiner(
	Bitmap sourceBitmap,
	RectangleF destinationRectangle,
	RectangleF sourceRectangle,
	CombineMode combineMode,
	float opacity,
	InterpolationMode interpolationMode
)

Parameters

sourceBitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance used as source bitmap. You can change it later using SourceBitmap property.
destinationRectangle

Type: System.Drawing.RectangleF

Destination rectangle. You can change it later using DestinationRectangle property.
sourceRectangle

Type: System.Drawing.RectangleF

Source rectangle. You can change it later using SourceRectangle property.
combineMode

Type: Aurigma.GraphicsMill.Transforms.CombineMode

CombineMode value specifying combine mode. You can change it later using CombineMode property.
opacity

Type: System.Single

A number in range [0, 1] specifying total opacity of the image. If 0, image is completely transparent, if 1, image is completely opaque. You can change it later using CombineMode property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during resizing. You can change it later using CombineMode property.

See Also

Reference