Bitmap.Draw Method (Bitmap, Rectangle, CombineMode, Single, ResizeInterpolationMode)

Draws the specified Bitmap on the current bitmap.

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

Syntax

C#
public void Draw(
	Bitmap topBitmap,
	Rectangle topPlacement,
	CombineMode combineMode,
	float opacity,
	ResizeInterpolationMode interpolationMode
)

Parameters

topBitmap

Type: Aurigma.GraphicsMill.Bitmap

A Bitmap to draw.
topPlacement

Type: System.Drawing.Rectangle

Rectangle structure that specifies the location and size of the drawn image.
combineMode

Type: Aurigma.GraphicsMill.Transforms.CombineMode

The images blending algorithm (plain pixels copying, alpha blending, bitwise operations, etc).
opacity

Type: System.Single

The opacity of the image in range [0, 1]. If 0, image is completely transparent, if 1, image is completely opaque.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.ResizeInterpolationMode

The resize algorithm. Using this parameter you can select between speed and quality of resizing.

See Also

Reference

Manual