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

Combiner Constructor (Bitmap, CombineMode, Single, InterpolationMode)

Creates new instance of the Combiner class. You can set main transform parameters without custom source and destination rectangles.

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

Syntax

Visual Basic
Public Sub New ( _
	sourceBitmap As Bitmap, _
	combineMode As CombineMode, _
	opacity As Single, _
	interpolationMode As InterpolationMode _
)
C#
public Combiner(
	Bitmap sourceBitmap,
	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.
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