VectSharp
2.2.1
A light library for C# vector graphics
|
Represents a filter that uses the luminance of an image to mask another image. More...
Public Member Functions | |
MaskFilter (Graphics mask) | |
Creates a new MaskFilter with the specified mask image. More... | |
RasterImage | Filter (RasterImage image, Rectangle bounds, double scale) |
Applies the filter to a RasterImage. | |
![]() | |
virtual void | RasteriseParameter (Func< Graphics, Rectangle, double, bool, RasterImage > rasterisationMethod, double scale) |
Rasterises the filter's parameter at the specified scale, using the specified rasterisation method. | |
void | Dispose () |
Public Attributes | |
Point | TopLeftMargin => new Point(0, 0) |
Point | BottomRightMargin => new Point(0, 0) |
Graphics | Mask => this.RasterisableParameter |
The image that is used to mask the input image. More... | |
Additional Inherited Members | |
![]() | |
Point | TopLeftMargin [get] |
Determines how much the area of the filter's subject should be expanded on the top-left to accommodate the results of the filter. More... | |
Point | BottomRightMargin [get] |
Determines how much the area of the filter's subject should be expanded on the bottom-right to accommodate the results of the filter. More... | |
Represents a filter that uses the luminance of an image to mask another image.
Definition at line 26 of file MaskFilter.cs.
VectSharp.Filters.MaskFilter.MaskFilter | ( | Graphics | mask | ) |
Creates a new MaskFilter with the specified mask image.
mask | The image that is used to mask the input image. |
Definition at line 42 of file MaskFilter.cs.
Graphics VectSharp.Filters.MaskFilter.Mask => this.RasterisableParameter |
The image that is used to mask the input image.
Definition at line 36 of file MaskFilter.cs.