Path.GetAlphaContour Method (Bitmap)

Gets the Path object that contains the perimeter of transparency mask.

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

Syntax

C#
public static Path GetAlphaContour(
	Bitmap bitmap
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

A bitmap to find contour in.

Return Value

A Path object that contains the perimeter of transparency mask.

Remarks

For pixel formats without alpha channel, the contour is a rectangle.

See Also

Reference