Click or drag to resize

SetAlphaFromMaskCommand Constructor (AtalaImage, Boolean, AlphaMergeType, Point)

Creates a new instance of SetAlphaFromMask specifying maskImage, resizeMask, mergeType and position.

Namespace:  Atalasoft.Imaging.ImageProcessing.Channels
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public SetAlphaFromMaskCommand(
	AtalaImage maskImage,
	bool resizeMask,
	AlphaMergeType mergeType,
	Point position
)

Parameters

maskImage
Type: Atalasoft.ImagingAtalaImage
An 8-bit image used to generate the alpha channel.
resizeMask
Type: SystemBoolean
Set to true if the mask should be resized to fit the image.
mergeType
Type: Atalasoft.Imaging.ImageProcessingAlphaMergeType
The type of merge performed.
position
Type: System.DrawingPoint
The x,y position to place the mask image.
See Also