February 08, 2020

Microsoft

Opacity masks are used to create interesting visual effects, such as to create images or buttons that fade from view, to add textures to elements, or to combine gradients to produce glass-like surfaces. The following illustration demonstrates the use of an opacity mask. A checkered background is used to show the transparent portions of the mask.
Object with a LinearGradientBrush opacity mask
Opacity masking example

No comments:

Post a Comment