C# 클래스 Softbuild.Media.Effects.VignettingEffect

周辺光の低出力
상속: IEffect
파일 보기 프로젝트 열기: CH3COOH/Softbuild.Media 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Effect ( int width, int height, byte source ) : byte[]

口径食処理をおこなう

VignettingEffect ( WriteableBitmap maskBitmap, double opacity ) : System

VignettingEffect クラスの新しいインスタンスを初期化します。

메소드 상세

Effect() 공개 메소드

口径食処理をおこなう
public Effect ( int width, int height, byte source ) : byte[]
width int ビットマップの幅
height int ビットマップの高さ
source byte 処理前のピクセルデータ
리턴 byte[]

VignettingEffect() 공개 메소드

VignettingEffect クラスの新しいインスタンスを初期化します。
public VignettingEffect ( WriteableBitmap maskBitmap, double opacity ) : System
maskBitmap WriteableBitmap 周辺光を表現するマスク画像
opacity double マスク画像の不透明度を表現する(0.0~1.0 不透明:1.0)
리턴 System