C# Class Pinta.ImageManipulation.Effects.MotionBlurEffect

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

Public Methods

Method Description
MotionBlurEffect ( double angle = 25, int distance = 10, bool centered = true ) : System

Creates a new effect that will apply a motion blur to an image.

Protected Methods

Method Description
RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void

Method Details

MotionBlurEffect() public method

Creates a new effect that will apply a motion blur to an image.
public MotionBlurEffect ( double angle = 25, int distance = 10, bool centered = true ) : System
angle double Angle of the motion blur.
distance int Distance to apply the blur. Valid range is 1 - 200.
centered bool Whether the blur is centered.
return System

RenderLine() protected method

protected RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void
src ISurface
dst ISurface
rect Rectangle
return void