System.Windows.Ink 命名空间
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供类,用于在 Windows Presentation Foundation (WPF) 平台上与墨迹进行交互和操作。
类
| 名称 | 说明 |
|---|---|
| DrawingAttributeIds |
包含一组 GUID,用于标识类中的 DrawingAttributes 属性。 |
| DrawingAttributes |
指定 Stroke的外观。 |
| DrawingAttributesReplacedEventArgs |
提供事件的数据 DefaultDrawingAttributesReplaced 。 |
| EllipseStylusShape |
表示形状为椭圆的触笔尖。 |
| GestureRecognitionResult |
包含有关墨迹笔势的信息。 |
| GestureRecognizer |
识别墨迹笔势。 |
| IncrementalHitTester |
在 . Stroke上动态执行命中测试。 |
| IncrementalLassoHitTester |
动态命中测试 Stroke 套索。 |
| IncrementalStrokeHitTester |
使用橡皮擦路径动态命中测试笔划。 |
| LassoSelectionChangedEventArgs |
提供事件的数据 SelectionChanged 。 |
| PropertyDataChangedEventArgs |
提供事件的数据 |
| RectangleStylusShape |
表示矩形触笔尖。 |
| Stroke |
表示单个墨迹笔划。 |
| StrokeCollection |
表示 对象的集合 Stroke 。 |
| StrokeCollectionChangedEventArgs |
提供事件的数据 StrokesChanged 。 |
| StrokeHitEventArgs |
表示将处理 StrokeHit 事件 IncrementalStrokeHitTester的方法。 |
| StylusPointsReplacedEventArgs |
提供事件的数据 StylusPointsReplaced 。 |
| StylusShape |
表示触笔的提示。 |
枚举
| 名称 | 说明 |
|---|---|
| ApplicationGesture |
指定可用的特定于应用程序的 |
| RecognitionConfidence |
指定 GestureRecognizer 为特定墨迹手势确定的置信度。 |
| StylusTip |
指定要用于绘制 Stroke的提示。 |
委托
| 名称 | 说明 |
|---|---|
| DrawingAttributesReplacedEventHandler |
表示处理 DefaultDrawingAttributesReplaced 事件 InkCanvas的方法。 |
| LassoSelectionChangedEventHandler |
表示处理 SelectionChanged 事件 IncrementalLassoHitTester的方法。 |
| PropertyDataChangedEventHandler |
表示处理 |
| StrokeCollectionChangedEventHandler |
表示处理 StrokesChanged 事件 StrokeCollection的方法。 |
| StrokeHitEventHandler |
表示将处理 StrokeHit 事件 IncrementalStrokeHitTester的方法。 |
| StylusPointsReplacedEventHandler |
表示将处理 StylusPointsReplaced 事件 Stroke的方法。 |