Skip to main content

CompositionVisual Class

Definition

Assembly:Avalonia.Base
Package:Avalonia

The base visual object in the composition visual hierarchy.

public class CompositionVisual

Inheritance: object -> CompositionObject -> CompositionVisual

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
AnchorPointNo summary available.
CenterPointNo summary available.
ClipToBoundsNo summary available.
DisableSubTreeBoundsHitTestOptimizationNo summary available.
OffsetNo summary available.
OpacityNo summary available.
OpacityMaskNo summary available.
OrientationNo summary available.
RenderOptionsNo summary available.
RotationAngleNo summary available.
ScaleNo summary available.
SizeNo summary available.
TextOptionsNo summary available.
VisibleNo summary available.
CompositorThe associated Compositor Inherited from CompositionObject.
ImplicitAnimationsThe collection of implicit animations attached to this object. Inherited from CompositionObject.
IsDisposedInherited from CompositionObject.

AnchorPoint Property

public Avalonia.Vector AnchorPoint { get; set; }

CenterPoint Property

public Avalonia.Vector3D CenterPoint { get; set; }

ClipToBounds Property

public bool ClipToBounds { get; set; }

DisableSubTreeBoundsHitTestOptimization Property

public bool DisableSubTreeBoundsHitTestOptimization { get; set; }

Offset Property

public Avalonia.Vector3D Offset { get; set; }

Opacity Property

public float Opacity { get; set; }

OpacityMask Property

public Avalonia.Media.IBrush OpacityMask { get; set; }

Orientation Property

public System.Numerics.Quaternion Orientation { get; set; }

RenderOptions Property

public Avalonia.Media.RenderOptions RenderOptions { get; set; }

RotationAngle Property

public float RotationAngle { get; set; }

Scale Property

public Avalonia.Vector3D Scale { get; set; }

Size Property

public Avalonia.Vector Size { get; set; }

TextOptions Property

public Avalonia.Media.TextOptions TextOptions { get; set; }

Visible Property

public bool Visible { get; set; }