C# Class Pinta.ImageManipulation.Effects.PencilSketchEffect

Inheritance: BaseEffect
Show file Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Methods

Method Description
PencilSketchEffect ( int pencilSize = 2, int colorRange ) : System

Creates a new effect that will make the image look like a pencil sketch.

Protected Methods

Method Description
RenderLine ( ISurface src, ISurface dest, Rectangle roi ) : void

Method Details

PencilSketchEffect() public method

Creates a new effect that will make the image look like a pencil sketch.
public PencilSketchEffect ( int pencilSize = 2, int colorRange ) : System
pencilSize int Size of the pencil to use. Valid range is 1 - 20.
colorRange int Range of color to use. Valid range is -20 - 20.
return System

RenderLine() protected method

protected RenderLine ( ISurface src, ISurface dest, Rectangle roi ) : void
src ISurface
dest ISurface
roi Rectangle
return void