How to smooth WPF gradient?

I want best to make RadialGradientBrush in my wpf application. This is my XAML code:

<Grid> <Grid.Background> <RadialGradientBrush> <GradientStop Color="#FF3A3A3A" Offset="1"/> <GradientStop Color="#FF323232"/> </RadialGradientBrush> </Grid.Background> </Grid> 

This is the WPF rendering:

WPF image

I change this in Photoshop rendering (check with Dither in gradient):

Photoshop image

+6
source share

Source: https://habr.com/ru/post/979835/


All Articles