C# Class Pinta.ImageManipulation.Effects.SoftenPortraitEffect

Inheritance: BaseEffect
显示文件 Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Methods

Method Description
SoftenPortraitEffect ( int softness = 5, int lighting, int warmth = 10 ) : System

Creates a new effect that will soften an image.

Protected Methods

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

Method Details

RenderLine() protected method

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

SoftenPortraitEffect() public method

Creates a new effect that will soften an image.
public SoftenPortraitEffect ( int softness = 5, int lighting, int warmth = 10 ) : System
softness int How much to soften the image. Valid range is 0 - 10.
lighting int Amount of lighting to apply. Valid range is -20 - 20.
warmth int Amount of warmth to apply. Valid range is 0 - 20.
return System