C# Class Pinta.ImageManipulation.UnaryPixelOperations.PosterizePixelOp

Inheritance: UnaryPixelOp
Datei anzeigen Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
Apply ( ColorBgra color ) : ColorBgra
Apply ( ColorBgra src, ColorBgra dst, int length ) : void
Apply ( ColorBgra ptr, int length ) : void
PosterizePixelOp ( int red, int green, int blue ) : System

Private Methods

Method Description
CalcLevels ( int levelCount ) : byte[]

Method Details

Apply() public method

public Apply ( ColorBgra color ) : ColorBgra
color ColorBgra
return ColorBgra

Apply() public method

public Apply ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra
dst ColorBgra
length int
return void

Apply() public method

public Apply ( ColorBgra ptr, int length ) : void
ptr ColorBgra
length int
return void

PosterizePixelOp() public method

public PosterizePixelOp ( int red, int green, int blue ) : System
red int
green int
blue int
return System