Skip to main content

ISolidColorBrush Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Fills an area with a solid color.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface ISolidColorBrush : IBrush
View Source
ImplementsIBrush

Properties

ColorGets the color of the brush.
OpacityGets the opacity of the brush.
(Inherited from IBrush)
TransformGets the transform of the brush.
(Inherited from IBrush)
TransformOriginGets the origin of the brushes Transform
(Inherited from IBrush)

Extension Methods

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

See Also

Reference

Avalonia.Media Namespace