C# Class Pinta.ImageManipulation.UnaryPixelOperations.LevelOp

Inheritance: ChannelCurveOp, ICloneable
Mostra file Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Properties

Property Type Description
isValid bool

Public Methods

Method Description
Apply ( float r, float g, float b ) : ColorBgra
AutoFromLoMdHi ( ColorBgra lo, ColorBgra md, ColorBgra hi ) : LevelOp
Clone ( ) : object
GetGamma ( int index ) : float
LevelOp ( ) : System
LevelOp ( ColorBgra in_lo, ColorBgra in_hi, float gamma, ColorBgra out_lo, ColorBgra out_hi ) : System
SetGamma ( int index, float val ) : void
UnApply ( ColorBgra after, float beforeOut, float slopesOut ) : void

Private Methods

Method Description
UpdateLookupTable ( ) : void

Method Details

Apply() public method

public Apply ( float r, float g, float b ) : ColorBgra
r float
g float
b float
return ColorBgra

AutoFromLoMdHi() public static method

public static AutoFromLoMdHi ( ColorBgra lo, ColorBgra md, ColorBgra hi ) : LevelOp
lo ColorBgra
md ColorBgra
hi ColorBgra
return LevelOp

Clone() public method

public Clone ( ) : object
return object

GetGamma() public method

public GetGamma ( int index ) : float
index int
return float

LevelOp() public method

public LevelOp ( ) : System
return System

LevelOp() public method

public LevelOp ( ColorBgra in_lo, ColorBgra in_hi, float gamma, ColorBgra out_lo, ColorBgra out_hi ) : System
in_lo ColorBgra
in_hi ColorBgra
gamma float
out_lo ColorBgra
out_hi ColorBgra
return System

SetGamma() public method

public SetGamma ( int index, float val ) : void
index int
val float
return void

UnApply() public method

public UnApply ( ColorBgra after, float beforeOut, float slopesOut ) : void
after ColorBgra
beforeOut float
slopesOut float
return void

Property Details

isValid public_oe property

public bool isValid
return bool