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