Skip to main content

IRadialGradientBrush 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 radial gradient.

Definition​

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

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

Properties​

CenterGets the start point for the gradient.
GradientOriginGets the location of the two-dimensional focal point that defines the beginning of the gradient.
GradientStopsGets the brush's gradient stops.
(Inherited from IGradientBrush)
OpacityGets the opacity of the brush.
(Inherited from IBrush)
Radius
Obsolete.
RadiusXGets the horizontal radius of the outermost circle of the radial gradient.
RadiusYGets the vertical radius of the outermost circle of the radial gradient.
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