Skip to main content

IConicGradientBrush Interface

Not client implementable.

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

Paints an area with a conic gradient.

Definition

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

[NotClientImplementableAttribute]
public interface IConicGradientBrush : IGradientBrush,
IBrush
View Source
ImplementsIBrush, IGradientBrush

Properties

AngleGets the starting angle for the gradient in degrees, measured from the point above the center point.
CenterGets the center point for the gradient.
GradientStopsGets the brush's gradient stops.
(Inherited from IGradientBrush)
OpacityGets the opacity of the brush.
(Inherited from IBrush)
SpreadMethodGets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.
(Inherited from IGradientBrush)
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