DelegatedInkTrailVisual.CreateForSwapChain 方法

定义

创建 DelegatedInkTrailVisual ,用于将“湿”墨迹呈现到交换链。

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

参数

compositor
Compositor

在 Windows.UI.Composition 命名空间中创建各种类型的工厂,包括视觉对象、效果系统和动画系统。

swapChain
ICompositionSurface

“湿”墨迹对象的承载图面。

返回

“湿”墨迹笔划。

适用于

另请参阅