Summary
Initializes a new instance of the
ImmutableSolidColorBrush
class.
- Namespace
- Avalonia
.Media .Immutable - Containing Type
- Immutable
Solid Color Brush
Syntax
public ImmutableSolidColorBrush(Color color, double opacity = 1)
Parameters
Name | Type | Description |
---|---|---|
color | Color | The color to use. |
opacity | double | The opacity of the brush. |
Return Value
Type | Description |
---|---|
void |