共用方式為


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

2D 轉換矩陣。

傳回

筆墨筆劃,包括用於筆劃最終轉譯的 Bézier 曲線參數。

另請參閱

適用於

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

2D 轉換矩陣。 一般而言,這只是 身分識別矩陣

strokeStartedTime

IReference<DateTime>

Nullable<DateTimeOffset>

InkStroke 啟動時的日期和時間。

strokeDuration

IReference<TimeSpan>

Nullable<TimeSpan>

取得或設定使用者繪製單一筆墨筆劃所花費的時間。

傳回

筆墨筆劃,包括用於筆劃最終轉譯的 Bézier 曲線參數。

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

另請參閱

適用於