Skip to main content

CompositionConicGradientBrush Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class CompositionConicGradientBrush

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

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
AngleNo summary available.
CenterNo summary available.
CompositorThe associated Compositor Inherited from CompositionObject.
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.
RelativeTransformInherited from CompositionBrush.
SpreadMethodHow the gradient repeats outside the stop range. Inherited from CompositionGradientBrush.
TransformInherited from CompositionBrush.
TransformOriginInherited from CompositionBrush.

Angle Property​

public double Angle { get; set; }

Center Property​

public Avalonia.RelativePoint Center { get; set; }