Summary
A brush that draws with a linear gradient.
- Namespace
- Avalonia
.Media - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["IGradientBrush"]
click Interface0 "/api/Avalonia.Media/IGradientBrush"
Type-.->Interface1["IBrush"]
click Interface1 "/api/Avalonia.Media/IBrush"
Type["ILinearGradientBrush"]
class Type type-node
Implementing0["LinearGradientBrush"]-.->Type
click Implementing0 "/api/Avalonia.Media/LinearGradientBrush"
Implementing1["ImmutableLinearGradientBrush"]-.->Type
click Implementing1 "/api/Avalonia.Media.Immutable/ImmutableLinearGradientBrush"
Syntax
public interface ILinearGradientBrush : IGradientBrush, IBrush
Properties
Name | Value | Summary |
---|---|---|
EndPoint | RelativePoint |
Gets or sets the end point for the gradient.
|
StartPoint | RelativePoint |
Gets or sets the start point for the gradient.
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToImmutable |
IBrush |
Converts a brush to an immutable brush.
From BrushExtensions
|