Bitmap.Draw Method (Bitmap, Int32, Int32, Int32, Int32, CombineMode, 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,
	int x,
	int y,
	int width,
	int height,
	CombineMode combineMode,
	ResizeInterpolationMode interpolationMode
)

Parameters

topBitmap

Type: Aurigma.GraphicsMill.Bitmap

A Bitmap to draw.
x

Type: System.Int32

The x-coordinate of the upper-left corner of the drawn image.
y

Type: System.Int32

The y-coordinate of the upper-left corner of the drawn image.
width

Type: System.Int32

Width of the drawn image.
height

Type: System.Int32

Height of the drawn image.
combineMode

Type: Aurigma.GraphicsMill.Transforms.CombineMode

The images blending algorithm (plain pixels copying, alpha blending, bitwise operations, etc).
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