IBrush Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
Describes how an area is painted.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[TypeConverterAttribute(typeof(BrushConverter))]
[NotClientImplementableAttribute]
public interface IBrush
<TypeConverterAttribute(GetType(BrushConverter))>
<NotClientImplementableAttribute>
Public Interface IBrush
[<TypeConverterAttribute(typeof(BrushConverter))>]
[<NotClientImplementableAttribute>]
type IBrush = interface end
Properties
Opacity | Gets the opacity of the brush. |
Transform | Gets the transform of the brush. |
TransformOrigin | Gets the origin of the brushes Transform |
Extension Methods
ToImmutable() | Converts a brush to an immutable brush. (Defined by BrushExtensions) |