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
파일 보기 프로젝트 열기: PintaProject/Pinta.ImageManipulation

공개 메소드들

메소드 설명
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