Skip to main content

CompositionDrawingSurface Class

Definition

Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public sealed class CompositionDrawingSurface : CompositionSurface, 
IDisposable
View Source
InheritanceObjectCompositionObjectCompositionSurface → CompositionDrawingSurface
ImplementsIDisposable

Properties

CompositorThe associated Compositor
(Inherited from CompositionObject)
ImplicitAnimationsThe collection of implicit animations attached to this object.
(Inherited from CompositionObject)
IsDisposed
(Inherited from CompositionObject)

Methods

Dispose()Releases all resources used by the CompositionDrawingSurface
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()
(Overrides Object.Finalize())
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
StartAnimation(String, CompositionAnimation)Connects an animation with the specified property of the object and starts the animation.
(Inherited from CompositionObject)
StartAnimationGroup(ICompositionAnimationBase)Starts 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)
ToString()Returns a string that represents the current object.
(Inherited from Object)
UpdateAsync(ICompositionImportedGpuImage)Updates the surface contents using an unspecified automatic means of synchronization provided by the underlying platform
UpdateWithKeyedMutexAsync(ICompositionImportedGpuImage, UInt32, UInt32)Updates the surface contents using an imported memory image using a keyed mutex as the means of synchronization
UpdateWithSemaphoresAsync(ICompositionImportedGpuImage, ICompositionImportedGpuSemaphore, ICompositionImportedGpuSemaphore)Updates the surface contents using an imported memory image using a semaphore pair as the means of synchronization

See Also

Reference

Avalonia.Rendering.Composition Namespace