ConicGradientBrush Class
Paints an area with a swept circular gradient.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class ConicGradientBrush : GradientBrush,
IConicGradientBrush, IGradientBrush, IBrush
Public NotInheritable Class ConicGradientBrush
Inherits GradientBrush
Implements IConicGradientBrush, IGradientBrush, IBrush
[<SealedAttribute>]
type ConicGradientBrush =
class
inherit GradientBrush
interface IConicGradientBrush
interface IGradientBrush
interface IBrush
end
Inheritance | Object → AvaloniaObject → Animatable → Brush → GradientBrush → ConicGradientBrush |
Implements | IBrush, IConicGradientBrush, IGradientBrush |
Constructors
ConicGradientBrush() | Initializes a new instance of the ConicGradientBrush class |
Properties
Angle | Gets or sets the angle of the start and end of the sweep, measured from above the center point. |
Center | Gets or sets the center point of the gradient. |
GradientStops | (Inherited from GradientBrush) |
Item(AvaloniaProperty) | Gets or sets the value of a AvaloniaProperty. (Inherited from AvaloniaObject) |
Item(IndexerDescriptor) | Gets or sets a binding for a AvaloniaProperty. (Inherited from AvaloniaObject) |
Opacity | Gets or sets the opacity of the brush. (Inherited from Brush) |
SpreadMethod | 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 GradientBrush) |
Transform | Gets or sets the transform of the brush. (Inherited from Brush) |
TransformOrigin | Gets or sets the origin of the brush Transform (Inherited from Brush) |
Transitions | Gets or sets the property transitions for the control. (Inherited from Animatable) |
Methods
Events
PropertyChanged | Raised when a AvaloniaProperty value changes on this object. (Inherited from AvaloniaObject) |
Fields
AngleProperty | Defines the Angle property. |
CenterProperty | Defines the Center property. |