C# Class Pinta.ImageManipulation.Effects.UnfocusEffect

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

Public Methods

Method Description
ApplyWithAlpha ( ColorBgra src, int area, int sum, int hb, int hg, int hr ) : ColorBgra
UnfocusEffect ( int radius = 4 ) : System

Creates a new effect that will unfocus an image.

Protected Methods

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

Method Details

ApplyWithAlpha() public method

public ApplyWithAlpha ( ColorBgra src, int area, int sum, int hb, int hg, int hr ) : ColorBgra
src ColorBgra
area int
sum int
hb int
hg int
hr int
return ColorBgra

RenderLine() protected method

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

UnfocusEffect() public method

Creates a new effect that will unfocus an image.
public UnfocusEffect ( int radius = 4 ) : System
radius int Amount of points to consider when unfocusing. Valid values are 1 - 200.
return System