Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.21 KB

radialgradientbrush_spreadmethod.md

File metadata and controls

30 lines (18 loc) · 1.21 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Media.RadialGradientBrush.SpreadMethod
winrt property

Microsoft.UI.Xaml.Media.RadialGradientBrush.SpreadMethod

-description

Gets or sets the type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-property-value

The type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted. The default is Pad

-remarks

The following illustration shows the available spread methods and their effect on LinearGradientBrush and RadialGradientBrush. The default is Pad.

:::image type="content" source="images/GradientSpread.png" alt-text="Pad, Reflect, and Repeat demonstrated as different GradientSpread settings.":::

-see-also

-examples