VectSharp  2.2.1
A light library for C# vector graphics
VectSharp.Filters.ILocationInvariantFilter Interface Reference

Represents a filter that can be applied to an image regardless of its location on the graphics surface. More...

Inheritance diagram for VectSharp.Filters.ILocationInvariantFilter:

Public Member Functions

RasterImage Filter (RasterImage image, double scale)
 Applies the filter to a RasterImage. More...
 

Additional Inherited Members

- Properties inherited from VectSharp.Filters.IFilter
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...
 

Detailed Description

Represents a filter that can be applied to an image regardless of its location on the graphics surface.

Definition at line 41 of file Filters.cs.

Member Function Documentation

◆ Filter()

RasterImage VectSharp.Filters.ILocationInvariantFilter.Filter ( RasterImage  image,
double  scale 
)

Applies the filter to a RasterImage.

Parameters
imageThe RasterImage to which the filter will be applied.
scaleThe scale of the image with respect to the filter.
Returns
A new RasterImage containing the filtered image. The source image is left unaltered.

Implemented in VectSharp.Filters.ColourMatrixFilter, VectSharp.Filters.CompositeLocationInvariantFilter, VectSharp.Filters.ConvolutionFilter, VectSharp.Filters.GaussianBlurFilter, and VectSharp.Filters.BoxBlurFilter.


The documentation for this interface was generated from the following file: