System.Windows.Ink 命名空間

提供類別,用於在 Windows Presentation Foundation(WPF)平台上互動及操作墨水。

類別

名稱 Description
DrawingAttributeIds

包含一組用來識別類別屬性 DrawingAttributes 的 GUID。

DrawingAttributes

指定 Stroke的外觀。

DrawingAttributesReplacedEventArgs

提供 DefaultDrawingAttributesReplaced 事件的資料。

EllipseStylusShape

代表一個橢圓形的觸控筆尖。

GestureRecognitionResult

包含關於墨水手勢的資訊。

GestureRecognizer

辨識筆跡手勢。

IncrementalHitTester

動態地對 . 進行命中測試 Stroke

IncrementalLassoHitTester

用套索動態擊中測試。Stroke

IncrementalStrokeHitTester

動態擊中會用橡皮擦路徑測試筆劃。

LassoSelectionChangedEventArgs

提供 SelectionChanged 事件的資料。

PropertyDataChangedEventArgs

提供 PropertyDataChanged 事件的資料。

RectangleStylusShape

代表一個長方形的觸控筆尖端。

Stroke

代表單一筆劃。

StrokeCollection

代表一組 Stroke 物件。

StrokeCollectionChangedEventArgs

提供 StrokesChanged 事件的資料。

StrokeHitEventArgs

代表將處理StrokeHitIncrementalStrokeHitTester事件的方法。

StylusPointsReplacedEventArgs

提供 StylusPointsReplaced 事件的資料。

StylusShape

代表觸控筆的尖端。

列舉

名稱 Description
ApplicationGesture

指定可用的應用程式特定 gesture

RecognitionConfidence

指定 GestureRecognizer 針對特定筆跡手勢決定的信賴等級。

StylusTip

指定要用來繪製 Stroke的提示。

委派

名稱 Description
DrawingAttributesReplacedEventHandler

代表處理 DefaultDrawingAttributesReplaced 事件 InkCanvas的方法。

LassoSelectionChangedEventHandler

代表處理 SelectionChanged 事件 IncrementalLassoHitTester的方法。

PropertyDataChangedEventHandler

代表處理 PropertyDataChanged 事件的方法。

StrokeCollectionChangedEventHandler

代表處理 StrokesChanged 事件 StrokeCollection的方法。

StrokeHitEventHandler

代表將處理StrokeHitIncrementalStrokeHitTester事件的方法。

StylusPointsReplacedEventHandler

代表將處理StylusPointsReplacedStroke事件的方法。