Summary
Paints an area with a radial gradient.
- Namespace
- Avalonia
.Media - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- IMutableBrush
- IAffectsRender
- IRadialGradientBrush
- IGradientBrush
- IBrush
- Base Types
graph BT
Type-->Base0["GradientBrush"]
click Base0 "/api/Avalonia.Media/GradientBrush"
Base0-->Base1["Brush"]
click Base1 "/api/Avalonia.Media/Brush"
Base1-->Base2["Animatable"]
click Base2 "/api/Avalonia.Animation/Animatable"
Base2-->Base3["AvaloniaObject"]
click Base3 "/api/Avalonia/AvaloniaObject"
Base3-->Base4["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type-.->Interface4["IMutableBrush"]
click Interface4 "/api/Avalonia.Media/IMutableBrush"
Type-.->Interface5["IAffectsRender"]
click Interface5 "/api/Avalonia.Media/IAffectsRender"
Type-.->Interface6["IRadialGradientBrush"]
click Interface6 "/api/Avalonia.Media/IRadialGradientBrush"
Type-.->Interface7["IGradientBrush"]
click Interface7 "/api/Avalonia.Media/IGradientBrush"
Type-.->Interface8["IBrush"]
click Interface8 "/api/Avalonia.Media/IBrush"
Type["RadialGradientBrush"]
class Type type-node
Syntax
public sealed class RadialGradientBrush : GradientBrush, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink, IMutableBrush, IAffectsRender, IRadialGradientBrush,
IGradientBrush, IBrush
Events
Name | Type | Summary |
---|---|---|
Invalidated | EventHandler |
Raised when the resource changes visually.
Inherited from Brush
|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
CenterProperty |
Defines the
Center property.
static
|
|
ClockProperty |
Defines the
Clock property.
Inherited from Animatable
static
|
|
Gradient |
Defines the
GradientOrigin property.
static
|
|
Gradient |
Defines the
GradientStops property.
Inherited from GradientBrush
static
|
|
OpacityProperty |
Defines the
Opacity property.
Inherited from Brush
static
|
|
RadiusProperty |
Defines the
Radius property.
static
|
|
SpreadMethodProperty |
Defines the
SpreadMethod property.
Inherited from GradientBrush
static
|
|
TransitionsProperty |
Defines the
Transitions property.
Inherited from Animatable
static
|
Properties
Name | Value | Summary |
---|---|---|
Center | RelativePoint |
Gets or sets the start point for the gradient.
|
Clock | IClock |
Gets or sets the clock which controls the animations on the control.
Inherited from Animatable
|
GradientOrigin | RelativePoint |
Gets or sets the location of the two-dimensional focal point that defines the beginning
of the gradient.
|
GradientStops | GradientStops |
Inherited from GradientBrush
|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
Opacity | double |
Gets or sets the opacity of the brush.
Inherited from Brush
|
Radius | double |
Gets or sets the horizontal and vertical radius of the outermost circle of the radial
gradient.
|
SpreadMethod | GradientSpreadMethod |
Gets the brush's spread method that defines how to draw a gradient that doesn't fill
the bounds of the destination control.
Inherited from GradientBrush
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|
Transitions | Transitions? |
Gets or sets the property transitions for the control.
Inherited from Animatable
|