Table of Contents

Class MaterialExtensions

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public static class MaterialExtensions
Inheritance
MaterialExtensions
Inherited Members

Methods

ToImmutable(IExperimentalAcrylicMaterial)

Converts a brush to an immutable brush.

public static IExperimentalAcrylicMaterial ToImmutable(this IExperimentalAcrylicMaterial material)

Parameters

material IExperimentalAcrylicMaterial

The brush.

Returns

IExperimentalAcrylicMaterial

The result of calling ToImmutable() if the brush is mutable, otherwise material.