Summary
A brush that draws with a sweep gradient.
- Namespace
- Avalonia
.Media .Immutable - Interfaces
- Base Types
-
- object
- Immutable
Gradient Brush
graph BT
Type-->Base0["ImmutableGradientBrush"]
click Base0 "/api/Avalonia.Media.Immutable/ImmutableGradientBrush"
Base0-->Base1["object"]
Type-.->Interface0["IConicGradientBrush"]
click Interface0 "/api/Avalonia.Media/IConicGradientBrush"
Type-.->Interface1["IGradientBrush"]
click Interface1 "/api/Avalonia.Media/IGradientBrush"
Type-.->Interface2["IBrush"]
click Interface2 "/api/Avalonia.Media/IBrush"
Type["ImmutableConicGradientBrush"]
class Type type-node
Syntax
public class ImmutableConicGradientBrush : ImmutableGradientBrush, IConicGradientBrush,
IGradientBrush, IBrush
Constructors
Name | Summary |
---|---|
Immutable |
Initializes a new instance of the ImmutableConicGradientBrush class.
|
Immutable |
Initializes a new instance of the ImmutableConicGradientBrush class.
|
Properties
Name | Value | Summary |
---|---|---|
Angle | double |
Gets the starting angle for the gradient in degrees, measured from
the point above the center point.
|
Center | RelativePoint |
Gets the center point for the gradient.
|
GradientStops | IReadOnlyList |
Gets the brush's gradient stops.
Inherited from Immutable
|
Opacity | double |
Gets the opacity of the brush.
Inherited from Immutable
|
SpreadMethod | GradientSpreadMethod |
Gets the brush's spread method that defines how to draw a gradient that doesn't fill
the bounds of the destination control.
Inherited from Immutable
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToImmutable |
IBrush |
Converts a brush to an immutable brush.
From BrushExtensions
|