C# Class Pinta.Core.UnaryPixelOps.PosterizePixel

Inheritance: UnaryPixelOp
Mostrar archivo Open project: xxgreg/Pinta Class Usage Examples

Public Methods

Method Description
Apply ( ColorBgra color ) : ColorBgra
Apply ( ColorBgra dst, ColorBgra src, int length ) : void
Apply ( ColorBgra ptr, int length ) : void
PosterizePixel ( 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 dst, ColorBgra src, int length ) : void
dst ColorBgra
src ColorBgra
length int
return void

Apply() public method

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

PosterizePixel() public method

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