InkStroke 類別

定義

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

public ref class InkStroke sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class InkStroke final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class InkStroke
Public NotInheritable Class InkStroke
繼承
Object Platform::Object IInspectable InkStroke
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1703 15063 識別碼
1703 15063 StrokeDuration
1703 15063 StrokeStartedTime

屬性

BoundingRect

取得 InkStroke的周框方塊。

DrawingAttributes

取得或設定與 InkStroke相關聯的屬性。

Id

取得筆跡筆劃識別碼。

唯一識別碼會指派給 InkPresenter所管理的每個筆墨筆劃。

PointerId

取得與筆墨筆劃相關聯的指標識別碼。

PointTransform

取得或設定要套用至 InkStroke 物件的相依轉換矩陣。

Recognized

取得是否辨識筆劃。

Selected

取得是否選取筆劃。

StrokeDuration

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

StrokeStartedTime

取得或設定 InkStroke 啟動時的日期和時間。

方法

Clone()

InkStroke 複製到另一個 InkManager (或 InkStrokeContainer) 。

GetInkPoints()

取得用來建構InkStrokeInkPoint物件集合。

GetRenderingSegments()

取得筆劃的轉譯區段。

注意

針對使用可延伸應用程式標記語言的通用 Windows 應用程式 (XAML) ,請使用 GetInkPoints (請參閱備註) 。

適用於

另請參閱