Skip to main content

IBrush Interface

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

Describes how an area is painted.

public interface IBrush

Properties

NameDescription
OpacityGets the opacity of the brush.
TransformGets the transform of the brush.
TransformOriginGets the origin of the brushes Avalonia.Media.IBrush.Transform

Opacity Property

Gets the opacity of the brush.

public double Opacity { get; set; }

Transform Property

Gets the transform of the brush.

public Avalonia.Media.ITransform Transform { get; set; }

TransformOrigin Property

Gets the origin of the brushes Avalonia.Media.IBrush.Transform

public Avalonia.RelativePoint TransformOrigin { get; set; }