C# Class ImageProcessor.Imaging.Filters.Artistic.HalftoneFilter

The halftone filter applies a classical CMYK filter to the given image.
Mostra file Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Public Methods

Method Description
ApplyFilter ( Bitmap source ) : Bitmap

Applies the halftone filter.

HalftoneFilter ( ) : System

Initializes a new instance of the HalftoneFilter class.

HalftoneFilter ( int distance ) : System

Initializes a new instance of the HalftoneFilter class.

Private Methods

Method Description
GetBoundingRectangle ( int width, int height ) : Rectangle

Gets the bounding rectangle of the image based on the rotating angles.

Method Details

ApplyFilter() public method

Applies the halftone filter.
public ApplyFilter ( Bitmap source ) : Bitmap
source System.Drawing.Bitmap /// The to apply the filter to. ///
return System.Drawing.Bitmap

HalftoneFilter() public method

Initializes a new instance of the HalftoneFilter class.
public HalftoneFilter ( ) : System
return System

HalftoneFilter() public method

Initializes a new instance of the HalftoneFilter class.
public HalftoneFilter ( int distance ) : System
distance int /// The distance. ///
return System