Summary
Paints an area with a radial 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["IRadialGradientBrush"]
class Type type-node
Implementing0["RadialGradientBrush"]-.->Type
click Implementing0 "/api/Avalonia.Media/RadialGradientBrush"
Implementing1["ImmutableRadialGradientBrush"]-.->Type
click Implementing1 "/api/Avalonia.Media.Immutable/ImmutableRadialGradientBrush"
Syntax
public interface IRadialGradientBrush : IGradientBrush, IBrush
Properties
Name | Value | Summary |
---|---|---|
Center | RelativePoint |
Gets the start point for the gradient.
|
GradientOrigin | RelativePoint |
Gets the location of the two-dimensional focal point that defines the beginning of the
gradient.
|
Radius | double |
Gets the horizontal and vertical radius of the outermost circle of the radial gradient.
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToImmutable |
IBrush |
Converts a brush to an immutable brush.
From BrushExtensions
|