IMutableBrush Interface

Summary

Represents a mutable brush which can return an immutable clone of itself.
graph BT Type-.->Interface0["IBrush"] click Interface0 "/api/Avalonia.Media/IBrush" Type-.->Interface1["IAffectsRender"] click Interface1 "/api/Avalonia.Media/IAffectsRender" Type["IMutableBrush"] class Type type-node Implementing0["SolidColorBrush"]-.->Type click Implementing0 "/api/Avalonia.Media/SolidColorBrush" Implementing1["LinearGradientBrush"]-.->Type click Implementing1 "/api/Avalonia.Media/LinearGradientBrush" Implementing2["ImageBrush"]-.->Type click Implementing2 "/api/Avalonia.Media/ImageBrush" Implementing3["TileBrush"]-.->Type click Implementing3 "/api/Avalonia.Media/TileBrush" Implementing4["GradientBrush"]-.->Type click Implementing4 "/api/Avalonia.Media/GradientBrush" Implementing5["VisualBrush"]-.->Type click Implementing5 "/api/Avalonia.Media/VisualBrush" Implementing6["RadialGradientBrush"]-.->Type click Implementing6 "/api/Avalonia.Media/RadialGradientBrush" Implementing7["Brush"]-.->Type click Implementing7 "/api/Avalonia.Media/Brush"

Syntax

public interface IMutableBrush : IBrush, IAffectsRender

Methods

Name Value Summary
ToImmutable() IBrush
Creates an immutable clone of the brush.

Extension Methods

Name Value Summary
ToImmutable() IBrush
Converts a brush to an immutable brush.