Summary
Fills an area with a solid color.
- Namespace
- Avalonia
.Media .Immutable - Interfaces
-
- ISolidColorBrush
- IBrush
- IEquatable
<Immutable Solid >Color Brush
- Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type-.->Interface0["ISolidColorBrush"]
click Interface0 "/api/Avalonia.Media/ISolidColorBrush"
Type-.->Interface1["IBrush"]
click Interface1 "/api/Avalonia.Media/IBrush"
Type-.->Interface2["IEquatable<ImmutableSolidColorBrush>"]
Type["ImmutableSolidColorBrush"]
class Type type-node
Syntax
public readonly struct ImmutableSolidColorBrush : ValueType, ISolidColorBrush, IBrush,
IEquatable<ImmutableSolidColorBrush>
Constructors
Name | Summary |
---|---|
Immutable |
Initializes a new instance of the ImmutableSolidColorBrush class.
|
Immutable |
Initializes a new instance of the ImmutableSolidColorBrush class.
|
Immutable |
Initializes a new instance of the ImmutableSolidColorBrush class.
|
Properties
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool | |
Equals |
bool | |
GetHashCode |
int | |
ToString |
string |
Returns a string representation of the brush.
|
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |
Extension Methods
Name | Value | Summary |
---|---|---|
ToImmutable |
IBrush |
Converts a brush to an immutable brush.
From BrushExtensions
|