Path.GetAlphaContour Method (Pipeline)

Applies to: Graphics Mill 12.1, 6.x-12.x (may differ)

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

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

Syntax

C#
public static Path GetAlphaContour(
	Pipeline pipeline
)

Parameters

pipeline

Type: Aurigma.GraphicsMill.Pipeline

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

The contour follows the pixel edges, so it has steps. For a smooth contour with sub-pixel accuracy, use GetContour(). The contours of the two methods are offset by half a pixel from each other, so do not mix them.

See Also

Reference