DelegatedInkTrailVisual.CreateForSwapChain Method

Definition

Creates the DelegatedInkTrailVisual for rendering "wet" ink to a swap chain.

public:
 static DelegatedInkTrailVisual ^ CreateForSwapChain(Compositor ^ compositor, ICompositionSurface ^ swapChain);
 static DelegatedInkTrailVisual CreateForSwapChain(Compositor const& compositor, ICompositionSurface const& swapChain);
public static DelegatedInkTrailVisual CreateForSwapChain(Compositor compositor, ICompositionSurface swapChain);
function createForSwapChain(compositor, swapChain)
Public Shared Function CreateForSwapChain (compositor As Compositor, swapChain As ICompositionSurface) As DelegatedInkTrailVisual

Parameters

compositor
Compositor

A factory that creates a variety of types in the Windows.UI.Composition namespace, including visuals, the effects system, and the animation system.

swapChain
ICompositionSurface

The hosting surface for the "wet" ink object.

Returns

The "wet" ink stroke.

Applies to

See also