Bitmap.Draw Method (Bitmap, Int32, Int32, CombineMode, Single)

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,
	CombineMode combineMode,
	float opacity
)

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.
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.

See Also

Reference