Skip to main content

CompositionRadialGradientBrush Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class CompositionRadialGradientBrush

Inheritance: object -> CompositionObject -> CompositionBrush -> CompositionGradientBrush -> CompositionRadialGradientBrush

Methods​

NameDescription
StartAnimationConnects an animation with the specified property of the object and starts the animation. Inherited from CompositionObject.
StartAnimationGroupStarts an animation group. The StartAnimationGroup method on CompositionObject lets you start CompositionAnimationGroup. All the animations in the group will be started at the same time on the object. Inherited from CompositionObject.
StopAnimationDisconnects an animation from the specified property and stops the animation. Inherited from CompositionObject.
StopAnimationGroupStops an animation group. Inherited from CompositionObject.

Properties​

NameDescription
CenterNo summary available.
CompositorThe associated Compositor Inherited from CompositionObject.
GradientOriginNo summary available.
GradientStopsThe gradient stops. Mutations of the list itself are not tracked - assign the property to ship in-place edits made after a commit. Stops created via Avalonia.Rendering.Composition.Compositor.CreateGradientStop(double,Avalonia.Media.Color) stay live on the server and animate individually; other stops are snapshotted at serialization time. Inherited from CompositionGradientBrush.
ImplicitAnimationsThe collection of implicit animations attached to this object. Inherited from CompositionObject.
IsDisposedInherited from CompositionObject.
OpacityInherited from CompositionBrush.
RadiusNo summary available.
RadiusXNo summary available.
RadiusYNo summary available.
RelativeTransformInherited from CompositionBrush.
SpreadMethodHow the gradient repeats outside the stop range. Inherited from CompositionGradientBrush.
TransformInherited from CompositionBrush.
TransformOriginInherited from CompositionBrush.

Center Property​

public Avalonia.RelativePoint Center { get; set; }

GradientOrigin Property​

public Avalonia.RelativePoint GradientOrigin { get; set; }

Radius Property​

public double Radius { get; set; }

RadiusX Property​

public Avalonia.RelativeScalar RadiusX { get; set; }

RadiusY Property​

public Avalonia.RelativeScalar RadiusY { get; set; }