DelegatedInkTrailVisual.AddTrailPointsWithPrediction 方法

定义

将实际墨迹点和预测的“湿”墨迹点添加到 DelegatedInkTrailVisual

uint32_t AddTrailPointsWithPrediction(winrt::array_view <InkTrailPoint> const& inkPoints, winrt::array_view <InkTrailPoint> const& predictedInkPoints);
public uint AddTrailPointsWithPrediction(InkTrailPoint[] inkPoints, InkTrailPoint[] predictedInkPoints);
function addTrailPointsWithPrediction(inkPoints, predictedInkPoints)
Public Function AddTrailPointsWithPrediction (inkPoints As InkTrailPoint(), predictedInkPoints As InkTrailPoint()) As UInteger

参数

inkPoints
InkTrailPoint[]

实际“湿”墨迹点。

predictedInkPoints
InkTrailPoint[]

预测的“湿”墨迹点。

返回

UInt32

uint32_t

“wet”墨迹点的生成 ID。

注解

预测点的作用类似于实际点,并追加到墨迹尾随任何实际点之后。

对 AddTrailPoints (或 AddTrailPointsWithPrediction) 的后续调用将在添加新点之前删除所有预测点。

预测的点由应用提供,以减少墨迹延迟。 当应用收到并添加到 DelegatedInkTrailVisual 时,它们会被实际位置覆盖。

适用于

另请参阅