C# Class Pinta.ImageManipulation.Effects.GlowEffect

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

Public Methods

Method Description
GlowEffect ( int radius = 6, int brightness = 10, int contrast = 10 ) : System

Creates a new effect that will add a glowing effect to an image.

Protected Methods

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

Method Details

GlowEffect() public method

Creates a new effect that will add a glowing effect to an image.
public GlowEffect ( int radius = 6, int brightness = 10, int contrast = 10 ) : System
radius int Radius used to blur the image (higher is blurrier). Valid range is 1 - 20.
brightness int Brightness amount to apply.
contrast int Contrast amount to apply.
return System

RenderLine() protected method

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