C# Class Pinta.ImageManipulation.Effects.HueSaturationEffect

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

Public Methods

Method Description
HueSaturationEffect ( int hue, int saturation = 100, int lightness ) : System

Creates a new effect that will adjust the hue, saturation, and lightness of an image.

Protected Methods

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

Method Details

HueSaturationEffect() public method

Creates a new effect that will adjust the hue, saturation, and lightness of an image.
public HueSaturationEffect ( int hue, int saturation = 100, int lightness ) : System
hue int Amount of hue to adjust. Valid range is -180 - 180.
saturation int Amount of saturation to adjust. Valid range is 0 - 200.
lightness int Amount of of lightness to adjust. Valid range is -100 - 100.
return System

RenderLine() protected method

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