RasterImageExtension.ApplyMask
RasterImageExtension.ApplyMask method
Applies IImageMask
to the RasterImage
.
public static void ApplyMask(RasterImage image, IImageMask mask)
Parameter | Type | Description |
---|---|---|
image | RasterImage | Image to apply mask to. |
mask | IImageMask | The mask to be applied. |
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when the mask size is smaller than image. |
See Also
- class RasterImage
- interface IImageMask
- class RasterImageExtension
- namespace Aspose.Imaging.MagicWand
- assembly Aspose.Imaging