C# Class Softbuild.Media.Effects.VignettingEffect

周辺光の低出力
Inheritance: IEffect
Mostrar archivo Open project: CH3COOH/Softbuild.Media Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Effect ( int width, int height, byte source ) : byte[]

口径食処理をおこなう

VignettingEffect ( WriteableBitmap maskBitmap, double opacity ) : System

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

Method Details

Effect() public method

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

VignettingEffect() public method

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