SolidColorBrush Class
Fills an area with a solid color.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class SolidColorBrush : Brush,
ISolidColorBrush, IBrush
Public NotInheritable Class SolidColorBrush
Inherits Brush
Implements ISolidColorBrush, IBrush
[<SealedAttribute>]
type SolidColorBrush =
class
inherit Brush
interface ISolidColorBrush
interface IBrush
end
Inheritance | Object → AvaloniaObject → Animatable → Brush → SolidColorBrush |
Implements | IBrush, ISolidColorBrush |
Constructors
SolidColorBrush() | Initializes a new instance of the SolidColorBrush class. |
SolidColorBrush(UInt32) | Initializes a new instance of the SolidColorBrush class. |
SolidColorBrush(Color, Double) | Initializes a new instance of the SolidColorBrush class. |
Properties
Color | Gets or sets the color of the brush. |
Item(AvaloniaProperty) | Gets or sets the value of a AvaloniaProperty. (Inherited from AvaloniaObject) |
Item(IndexerDescriptor) | Gets or sets a binding for a AvaloniaProperty. (Inherited from AvaloniaObject) |
Opacity | Gets or sets the opacity of the brush. (Inherited from Brush) |
Transform | Gets or sets the transform of the brush. (Inherited from Brush) |
TransformOrigin | Gets or sets the origin of the brush Transform (Inherited from Brush) |
Transitions | Gets or sets the property transitions for the control. (Inherited from Animatable) |
Methods
Events
PropertyChanged | Raised when a AvaloniaProperty value changes on this object. (Inherited from AvaloniaObject) |
Fields
ColorProperty | Defines the Color property. |