IBrush Interface

Summary

Describes how an area is painted.
graph BT Type["IBrush"] class Type type-node Implementing0["GradientBrush"]-.->Type click Implementing0 "/api/Avalonia.Media/GradientBrush" Implementing1["IConicGradientBrush"]-.->Type click Implementing1 "/api/Avalonia.Media/IConicGradientBrush" Implementing2["ISolidColorBrush"]-.->Type click Implementing2 "/api/Avalonia.Media/ISolidColorBrush" Implementing3["VisualBrush"]-.->Type click Implementing3 "/api/Avalonia.Media/VisualBrush" Implementing4["IImageBrush"]-.->Type click Implementing4 "/api/Avalonia.Media/IImageBrush" Implementing5["ImmutableSolidColorBrush"]-.->Type click Implementing5 "/api/Avalonia.Media.Immutable/ImmutableSolidColorBrush" Implementing6["ConicGradientBrush"]-.->Type click Implementing6 "/api/Avalonia.Media/ConicGradientBrush" Implementing7["ITileBrush"]-.->Type click Implementing7 "/api/Avalonia.Media/ITileBrush" Implementing8["IGradientBrush"]-.->Type click Implementing8 "/api/Avalonia.Media/IGradientBrush" Implementing9["SolidColorBrush"]-.->Type click Implementing9 "/api/Avalonia.Media/SolidColorBrush" Implementing10["IVisualBrush"]-.->Type click Implementing10 "/api/Avalonia.Media/IVisualBrush" Implementing11["RadialGradientBrush"]-.->Type click Implementing11 "/api/Avalonia.Media/RadialGradientBrush" Implementing12["IMutableBrush"]-.->Type click Implementing12 "/api/Avalonia.Media/IMutableBrush" Implementing13["LinearGradientBrush"]-.->Type click Implementing13 "/api/Avalonia.Media/LinearGradientBrush" Implementing14["ImageBrush"]-.->Type click Implementing14 "/api/Avalonia.Media/ImageBrush" Implementing15["IRadialGradientBrush"]-.->Type click Implementing15 "/api/Avalonia.Media/IRadialGradientBrush" Implementing16["Brush"]-.->Type click Implementing16 "/api/Avalonia.Media/Brush" Implementing17["ImmutableGradientBrush"]-.->Type click Implementing17 "/api/Avalonia.Media.Immutable/ImmutableGradientBrush" Implementing18["ImmutableConicGradientBrush"]-.->Type click Implementing18 "/api/Avalonia.Media.Immutable/ImmutableConicGradientBrush" Implementing19["ImmutableTileBrush"]-.->Type click Implementing19 "/api/Avalonia.Media.Immutable/ImmutableTileBrush" Implementing20["ILinearGradientBrush"]-.->Type click Implementing20 "/api/Avalonia.Media/ILinearGradientBrush" Implementing21["ImmutableRadialGradientBrush"]-.->Type click Implementing21 "/api/Avalonia.Media.Immutable/ImmutableRadialGradientBrush" Implementing22["ImmutableLinearGradientBrush"]-.->Type click Implementing22 "/api/Avalonia.Media.Immutable/ImmutableLinearGradientBrush" Implementing23["TileBrush"]-.->Type click Implementing23 "/api/Avalonia.Media/TileBrush"

Syntax

[TypeConverter(typeof(BrushConverter))]
public interface IBrush

Attributes

Type Description
TypeConverter

Properties

Name Value Summary
Opacity double
Gets the opacity of the brush.

Extension Methods

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