Bitmap for WPF
FillOpacityMask(Bitmap,Brush,OpacityMaskContent) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > RenderTarget クラス > FillOpacityMask メソッド : FillOpacityMask(Bitmap,Brush,OpacityMaskContent) メソッド
The opacity mask to apply to the brush. The alpha value of each pixel in the region specified by sourceRectangle is multiplied with the alpha value of the brush after the brush has been mapped to the area defined by destinationRectangle.
The brush used to paint the region of the render target specified by destinationRectangle.
The type of content the opacity mask contains. The value is used to determine the color space in which the opacity mask is blended.
Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target.
シンタックス
'宣言
 
Public Overloads Sub FillOpacityMask( _
   ByVal opacityMask As Bitmap, _
   ByVal brush As Brush, _
   ByVal content As OpacityMaskContent _
) 
public void FillOpacityMask( 
   Bitmap opacityMask,
   Brush brush,
   OpacityMaskContent content
)

パラメータ

opacityMask
The opacity mask to apply to the brush. The alpha value of each pixel in the region specified by sourceRectangle is multiplied with the alpha value of the brush after the brush has been mapped to the area defined by destinationRectangle.
brush
The brush used to paint the region of the render target specified by destinationRectangle.
content
The type of content the opacity mask contains. The value is used to determine the color space in which the opacity mask is blended.
参照

RenderTarget クラス
RenderTarget メンバ
オーバーロード一覧