C# Class Pinta.ImageManipulation.UnaryPixelOperations.SetChannelOp

Used to set a given channel of a pixel to a given, predefined color. Useful if you want to set only the alpha value of a given region.
Inheritance: UnaryPixelOp
Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation

Méthodes publiques

Méthode Description
Apply ( ColorBgra color ) : ColorBgra
Apply ( ColorBgra src, ColorBgra dst, int length ) : void
Apply ( ColorBgra ptr, int length ) : void
SetChannelOp ( int channel, byte setValue ) : System

Method Details

Apply() public méthode

public Apply ( ColorBgra color ) : ColorBgra
color ColorBgra
Résultat ColorBgra

Apply() public méthode

public Apply ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra
dst ColorBgra
length int
Résultat void

Apply() public méthode

public Apply ( ColorBgra ptr, int length ) : void
ptr ColorBgra
length int
Résultat void

SetChannelOp() public méthode

public SetChannelOp ( int channel, byte setValue ) : System
channel int
setValue byte
Résultat System