InkStrokeBuilder.CreateStrokeFromInkPoints 方法

定义

重载

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2)

InkPoint 对象的集合创建基本墨迹笔划。

注意

使用 CreateStrokeFromInkPointsSetDefaultDrawingAttributes 以编程方式为 InkPresenter 生成笔划。

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>)

InkPoint 对象的集合创建丰富的墨迹笔划。

注意

使用 CreateStrokeFromInkPoints 和 SetDefaultDrawingAttributes 以编程方式为 InkPresenter 生成笔划。

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2)

InkPoint 对象的集合创建基本墨迹笔划。

注意

使用 CreateStrokeFromInkPointsSetDefaultDrawingAttributes 以编程方式为 InkPresenter 生成笔划。

public:
 virtual InkStroke ^ CreateStrokeFromInkPoints(IIterable<InkPoint ^> ^ inkPoints, float3x2 transform) = CreateStrokeFromInkPoints;
InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> const& inkPoints, float3x2 const& transform);
public InkStroke CreateStrokeFromInkPoints(IEnumerable<InkPoint> inkPoints, Matrix3x2 transform);
function createStrokeFromInkPoints(inkPoints, transform)
Public Function CreateStrokeFromInkPoints (inkPoints As IEnumerable(Of InkPoint), transform As Matrix3x2) As InkStroke

参数

inkPoints

IIterable<InkPoint>

IEnumerable<InkPoint>

InkPoint 对象的集合。

transform
Matrix3x2 Matrix3x2

float3x2

二维转换矩阵。

返回

墨迹笔划,包括用于笔划最终呈现的贝塞尔曲线参数。

另请参阅

适用于

CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>)

InkPoint 对象的集合创建丰富的墨迹笔划。

注意

使用 CreateStrokeFromInkPoints 和 SetDefaultDrawingAttributes 以编程方式为 InkPresenter 生成笔划。

public:
 virtual InkStroke ^ CreateStrokeFromInkPoints(IIterable<InkPoint ^> ^ inkPoints, float3x2 transform, IReference<DateTime> ^ strokeStartedTime, IReference<TimeSpan> ^ strokeDuration) = CreateStrokeFromInkPoints;
InkStroke CreateStrokeFromInkPoints(IIterable<InkPoint> const& inkPoints, float3x2 const& transform, IReference<DateTime> const& strokeStartedTime, IReference<TimeSpan> const& strokeDuration);
public InkStroke CreateStrokeFromInkPoints(IEnumerable<InkPoint> inkPoints, Matrix3x2 transform, System.Nullable<System.DateTimeOffset> strokeStartedTime, System.Nullable<System.TimeSpan> strokeDuration);
function createStrokeFromInkPoints(inkPoints, transform, strokeStartedTime, strokeDuration)
Public Function CreateStrokeFromInkPoints (inkPoints As IEnumerable(Of InkPoint), transform As Matrix3x2, strokeStartedTime As Nullable(Of DateTimeOffset), strokeDuration As Nullable(Of TimeSpan)) As InkStroke

参数

inkPoints

IIterable<InkPoint>

IEnumerable<InkPoint>

InkPoint 对象的集合。

transform
Matrix3x2 Matrix3x2

float3x2

二维转换矩阵。 通常,这只是 标识矩阵

strokeStartedTime

IReference<DateTime>

Nullable<DateTimeOffset>

InkStroke 启动的日期和时间。

strokeDuration

IReference<TimeSpan>

Nullable<TimeSpan>

获取或设置用户绘制单个墨迹笔划所花费的时间。

返回

墨迹笔划,包括用于笔划最终呈现的贝塞尔曲线参数。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

另请参阅

适用于