SetAlpha Constructor (Pipeline, Boolean)

Initializes a new instance of the SetAlpha class using the specified settings.

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

Syntax

C#
public SetAlpha(
	Pipeline alphaSource,
	bool autoDisposeSource
)

Parameters

alphaSource

Type: Aurigma.GraphicsMill.Pipeline

A grayscale image to initialize alpha channel with. You can change this value later using the AlphaSource property.
autoDisposeSource

Type: System.Boolean

true if the alpha source (specified with the AlphaSource property) will be disposed along with this SetAlpha; otherwise, false. You can change this value later using the AutoDisposeAlphaSource property.

See Also

Reference