Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 964 Bytes

shape_getalphamask_1000193962.md

File metadata and controls

25 lines (16 loc) · 964 Bytes
-api-id -api-type
M:Windows.UI.Xaml.Shapes.Shape.GetAlphaMask
winrt method

Windows.UI.Xaml.Shapes.Shape.GetAlphaMask

-description

Returns a mask that represents the alpha channel of a XAML shape as a CompositionBrush.

-returns

A mask that represents the alpha channel of a XAML shape.

-remarks

This method gets an alpha mask from a XAML shape as a CompositionBrush that you can use as an input to composition shadows and effects. The alpha mask CompositionBrush has the same alignment and stretch property values that the source XAML shape applies to its rendered content so that you can use those values to correctly position shadows or effects relative to the XAML element.

-examples

-see-also