C# Класс Pinta.ImageManipulation.UnaryPixelOperations.SetAlphaChannelOp

Specialization of SetChannel that sets the alpha channel.
This class depends on the system being litte-endian with the alpha channel occupying the 8 most-significant-bits of a ColorBgra instance. By the way, we use addition instead of bitwise-OR because an addition can be perform very fast (0.5 cycles) on a Pentium 4.
Наследование: UnaryPixelOp
Показать файл Открыть проект

Открытые методы

Метод Описание
Apply ( ColorBgra color ) : ColorBgra
Apply ( ColorBgra src, ColorBgra dst, int length ) : void
Apply ( ColorBgra ptr, int length ) : void
SetAlphaChannelOp ( byte alphaValue ) : System

Описание методов

Apply() публичный Метод

public Apply ( ColorBgra color ) : ColorBgra
color ColorBgra
Результат ColorBgra

Apply() публичный Метод

public Apply ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra
dst ColorBgra
length int
Результат void

Apply() публичный Метод

public Apply ( ColorBgra ptr, int length ) : void
ptr ColorBgra
length int
Результат void

SetAlphaChannelOp() публичный Метод

public SetAlphaChannelOp ( byte alphaValue ) : System
alphaValue byte
Результат System