Summary
Converts a brush to an immutable brush.
- Namespace
- Avalonia
.Media - Containing Type
- MaterialExtensions
Syntax
public static IExperimentalAcrylicMaterial ToImmutable(this IExperimentalAcrylicMaterial material)
Parameters
Name | Type | Description |
---|---|---|
material | I |
The brush. |
Return Value
Type | Description |
---|---|
I |
The result of calling ToImmutable() if the brush is mutable,
otherwise material.
|