Skip to main content

CompositionBrush Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class CompositionBrush

Inheritance: object -> CompositionObject -> CompositionBrush

Implements:IBrush

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
CompositorThe associated Compositor Inherited from CompositionObject.
ImplicitAnimationsThe collection of implicit animations attached to this object. Inherited from CompositionObject.
IsDisposedInherited from CompositionObject.
OpacityNo summary available.
RelativeTransformNo summary available.
TransformNo summary available.
TransformOriginNo summary available.

Opacity Property​

public double Opacity { get; set; }

RelativeTransform Property​

public Avalonia.Media.ITransform RelativeTransform { get; set; }

Transform Property​

public Avalonia.Media.ITransform Transform { get; set; }

TransformOrigin Property​

public Avalonia.RelativePoint TransformOrigin { get; set; }