Skip to main content

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)

[TypeConverterAttribute(typeof(BrushConverter))]
[NotClientImplementableAttribute]
public interface IBrush
View Source

Properties

OpacityGets the opacity of the brush.
TransformGets the transform of the brush.
TransformOriginGets the origin of the brushes Transform

Extension Methods

ToImmutable()Converts a brush to an immutable brush.
(Defined by BrushExtensions)

See Also

Reference

Avalonia.Media Namespace