FillOpacityMask(Bitmap,Brush,OpacityMaskContent) Method
In This Topic
Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target.
Syntax
Parameters
- 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.
See Also