Browse Source
Merge pull request #4401 from Someone357/master
Make RadialGradientBrush raise a Changed event
pull/4406/head
Benedikt Stebner
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
src/Avalonia.Visuals/Media/RadialGradientBrush.cs
|
|
|
@ -30,6 +30,11 @@ namespace Avalonia.Media |
|
|
|
AvaloniaProperty.Register<RadialGradientBrush, double>( |
|
|
|
nameof(Radius), |
|
|
|
0.5); |
|
|
|
|
|
|
|
static RadialGradientBrush() |
|
|
|
{ |
|
|
|
AffectsRender<RadialGradientBrush>(CenterProperty, GradientOriginProperty, RadiusProperty); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the start point for the gradient.
|
|
|
|
|