Summary
Describes how an area is painted.
- Namespace
- Avalonia
.Media - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- IMutableBrush
- IBrush
- IAffectsRender
- Base Types
-
- object
- AvaloniaObject
- Animatable
- Derived Types
graph BT
Type-->Base0["Animatable"]
click Base0 "/api/Avalonia.Animation/Animatable"
Base0-->Base1["AvaloniaObject"]
click Base1 "/api/Avalonia/AvaloniaObject"
Base1-->Base2["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["IBrush"]
click Interface5 "/api/Avalonia.Media/IBrush"
Type-.->Interface6["IAffectsRender"]
click Interface6 "/api/Avalonia.Media/IAffectsRender"
Type["Brush"]
class Type type-node
Derived0["GradientBrush"]-->Type
click Derived0 "/api/Avalonia.Media/GradientBrush"
Derived1["SolidColorBrush"]-->Type
click Derived1 "/api/Avalonia.Media/SolidColorBrush"
Derived2["TileBrush"]-->Type
click Derived2 "/api/Avalonia.Media/TileBrush"
Syntax
[TypeConverter(typeof(BrushConverter))]
public abstract class Brush : Animatable, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink, IMutableBrush, IBrush, IAffectsRender
Attributes
Type | Description |
---|---|
TypeConverter |
Events
Name | Type | Summary |
---|---|---|
Invalidated | EventHandler |
Raised when the resource changes visually.
|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
ClockProperty |
Defines the
Clock property.
Inherited from Animatable
static
|
|
OpacityProperty |
Defines the
Opacity property.
static
|
|
TransitionsProperty |
Defines the
Transitions property.
Inherited from Animatable
static
|
Properties
Name | Value | Summary |
---|---|---|
Clock | IClock |
Gets or sets the clock which controls the animations on the control.
Inherited from Animatable
|
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.
|
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
|