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["GradientBrush"]-.->Type click Implementing0 "/api/Avalonia.Media/GradientBrush" Implementing1["VisualBrush"]-.->Type click Implementing1 "/api/Avalonia.Media/VisualBrush" Implementing2["ConicGradientBrush"]-.->Type click Implementing2 "/api/Avalonia.Media/ConicGradientBrush" Implementing3["SolidColorBrush"]-.->Type click Implementing3 "/api/Avalonia.Media/SolidColorBrush" Implementing4["RadialGradientBrush"]-.->Type click Implementing4 "/api/Avalonia.Media/RadialGradientBrush" Implementing5["LinearGradientBrush"]-.->Type click Implementing5 "/api/Avalonia.Media/LinearGradientBrush" Implementing6["ImageBrush"]-.->Type click Implementing6 "/api/Avalonia.Media/ImageBrush" Implementing7["Brush"]-.->Type click Implementing7 "/api/Avalonia.Media/Brush" Implementing8["TileBrush"]-.->Type click Implementing8 "/api/Avalonia.Media/TileBrush"

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.