ImageGrayscaleMask.ImageGrayscaleMask

ImageGrayscaleMask(int, int)

Initializes a new instance of the ImageGrayscaleMask class with the specified width and height.

public ImageGrayscaleMask(int width, int height)
ParameterTypeDescription
widthInt32Width of the mask.
heightInt32Height of the mask.

See Also


ImageGrayscaleMask(RasterImage)

Initializes a new instance of the ImageGrayscaleMask class with the size of the specified existing RasterImage. Specified RasterImage will be stored as source image.

public ImageGrayscaleMask(RasterImage image)
ParameterTypeDescription
imageRasterImageSource image.

See Also