winrt-Windows.UI.Input.Inking 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,52 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "HandwritingLineHeight",
10
+ "InkDrawingAttributesKind",
11
+ "InkHighContrastAdjustment",
12
+ "InkInputProcessingMode",
13
+ "InkInputRightDragAction",
14
+ "InkManipulationMode",
15
+ "InkPersistenceFormat",
16
+ "InkPresenterPredefinedConfiguration",
17
+ "InkPresenterStencilKind",
18
+ "InkRecognitionTarget",
19
+ "PenHandedness",
20
+ "PenTipShape",
21
+ "InkDrawingAttributes",
22
+ "InkDrawingAttributesPencilProperties",
23
+ "InkInputConfiguration",
24
+ "InkInputProcessingConfiguration",
25
+ "InkManager",
26
+ "InkModelerAttributes",
27
+ "InkPoint",
28
+ "InkPresenter",
29
+ "InkPresenterProtractor",
30
+ "InkPresenterRuler",
31
+ "InkRecognitionResult",
32
+ "InkRecognizer",
33
+ "InkRecognizerContainer",
34
+ "InkStroke",
35
+ "InkStrokeBuilder",
36
+ "InkStrokeContainer",
37
+ "InkStrokeInput",
38
+ "InkStrokeRenderingSegment",
39
+ "InkStrokesCollectedEventArgs",
40
+ "InkStrokesErasedEventArgs",
41
+ "InkSynchronizer",
42
+ "InkUnprocessedInput",
43
+ "PenAndInkSettings",
44
+ "IInkPointFactory",
45
+ "IInkPresenterRulerFactory",
46
+ "IInkPresenterStencil",
47
+ "IInkRecognizerContainer",
48
+ "IInkStrokeContainer",
49
+ ]
50
+
51
+ winrt.runtime._internals.alias_method(InkManager, "recognize_async2", "recognize_async")
52
+ winrt.runtime._internals.alias_method(InkStrokeContainer, "save_with_format_async", "save_async")
@@ -0,0 +1,920 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import datetime
5
+ import enum
6
+ import types
7
+ import typing
8
+ from builtins import property as _property
9
+ from abc import abstractmethod
10
+ from typing_extensions import deprecated
11
+
12
+ import winrt.system
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+ import winrt.windows.ui as windows_ui
18
+ import winrt.windows.ui.core as windows_ui_core
19
+ import winrt.windows.ui.input as windows_ui_input
20
+
21
+ __all__ = [
22
+ "HandwritingLineHeight",
23
+ "InkDrawingAttributesKind",
24
+ "InkHighContrastAdjustment",
25
+ "InkInputProcessingMode",
26
+ "InkInputRightDragAction",
27
+ "InkManipulationMode",
28
+ "InkPersistenceFormat",
29
+ "InkPresenterPredefinedConfiguration",
30
+ "InkPresenterStencilKind",
31
+ "InkRecognitionTarget",
32
+ "PenHandedness",
33
+ "PenTipShape",
34
+ "InkDrawingAttributes",
35
+ "InkDrawingAttributesPencilProperties",
36
+ "InkInputConfiguration",
37
+ "InkInputProcessingConfiguration",
38
+ "InkManager",
39
+ "InkModelerAttributes",
40
+ "InkPoint",
41
+ "InkPresenter",
42
+ "InkPresenterProtractor",
43
+ "InkPresenterRuler",
44
+ "InkRecognitionResult",
45
+ "InkRecognizer",
46
+ "InkRecognizerContainer",
47
+ "InkStroke",
48
+ "InkStrokeBuilder",
49
+ "InkStrokeContainer",
50
+ "InkStrokeInput",
51
+ "InkStrokeRenderingSegment",
52
+ "InkStrokesCollectedEventArgs",
53
+ "InkStrokesErasedEventArgs",
54
+ "InkSynchronizer",
55
+ "InkUnprocessedInput",
56
+ "PenAndInkSettings",
57
+ "IInkPointFactory",
58
+ "IInkPresenterRulerFactory",
59
+ "IInkPresenterStencil",
60
+ "IInkRecognizerContainer",
61
+ "IInkStrokeContainer",
62
+ ]
63
+
64
+ class HandwritingLineHeight(enum.IntEnum):
65
+ SMALL = 0
66
+ MEDIUM = 1
67
+ LARGE = 2
68
+
69
+ class InkDrawingAttributesKind(enum.IntEnum):
70
+ DEFAULT = 0
71
+ PENCIL = 1
72
+
73
+ class InkHighContrastAdjustment(enum.IntEnum):
74
+ USE_SYSTEM_COLORS_WHEN_NECESSARY = 0
75
+ USE_SYSTEM_COLORS = 1
76
+ USE_ORIGINAL_COLORS = 2
77
+
78
+ class InkInputProcessingMode(enum.IntEnum):
79
+ NONE = 0
80
+ INKING = 1
81
+ ERASING = 2
82
+
83
+ class InkInputRightDragAction(enum.IntEnum):
84
+ LEAVE_UNPROCESSED = 0
85
+ ALLOW_PROCESSING = 1
86
+
87
+ class InkManipulationMode(enum.IntEnum):
88
+ INKING = 0
89
+ ERASING = 1
90
+ SELECTING = 2
91
+
92
+ class InkPersistenceFormat(enum.IntEnum):
93
+ GIF_WITH_EMBEDDED_ISF = 0
94
+ ISF = 1
95
+
96
+ class InkPresenterPredefinedConfiguration(enum.IntEnum):
97
+ SIMPLE_SINGLE_POINTER = 0
98
+ SIMPLE_MULTIPLE_POINTER = 1
99
+
100
+ class InkPresenterStencilKind(enum.IntEnum):
101
+ OTHER = 0
102
+ RULER = 1
103
+ PROTRACTOR = 2
104
+
105
+ class InkRecognitionTarget(enum.IntEnum):
106
+ ALL = 0
107
+ SELECTED = 1
108
+ RECENT = 2
109
+
110
+ class PenHandedness(enum.IntEnum):
111
+ RIGHT = 0
112
+ LEFT = 1
113
+
114
+ class PenTipShape(enum.IntEnum):
115
+ CIRCLE = 0
116
+ RECTANGLE = 1
117
+
118
+ @typing.final
119
+ class InkDrawingAttributes_Static(winrt.system.Object_Static):
120
+ # Windows.UI.Input.Inking.InkDrawingAttributes Windows.UI.Input.Inking.InkDrawingAttributes::CreateForPencil()
121
+ def create_for_pencil(cls) -> InkDrawingAttributes: ...
122
+
123
+ @typing.final
124
+ class InkDrawingAttributes(winrt.system.Object, metaclass=InkDrawingAttributes_Static):
125
+ def __new__(cls) -> typing.Self: ...
126
+ # Windows.Foundation.Size Windows.UI.Input.Inking.InkDrawingAttributes::get_Size()
127
+ @_property
128
+ def size(self) -> windows_foundation.Size: ...
129
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_Size(Windows.Foundation.Size)
130
+ @size.setter
131
+ def size(self, value: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single]) -> None: ...
132
+ # Windows.UI.Input.Inking.PenTipShape Windows.UI.Input.Inking.InkDrawingAttributes::get_PenTip()
133
+ @_property
134
+ def pen_tip(self) -> PenTipShape: ...
135
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_PenTip(Windows.UI.Input.Inking.PenTipShape)
136
+ @pen_tip.setter
137
+ def pen_tip(self, value: PenTipShape) -> None: ...
138
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_IgnorePressure()
139
+ @_property
140
+ def ignore_pressure(self) -> bool: ...
141
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_IgnorePressure(System.Boolean)
142
+ @ignore_pressure.setter
143
+ def ignore_pressure(self, value: bool) -> None: ...
144
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_FitToCurve()
145
+ @_property
146
+ def fit_to_curve(self) -> bool: ...
147
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_FitToCurve(System.Boolean)
148
+ @fit_to_curve.setter
149
+ def fit_to_curve(self, value: bool) -> None: ...
150
+ # Windows.UI.Color Windows.UI.Input.Inking.InkDrawingAttributes::get_Color()
151
+ @_property
152
+ def color(self) -> windows_ui.Color: ...
153
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_Color(Windows.UI.Color)
154
+ @color.setter
155
+ def color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
156
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkDrawingAttributes::get_PenTipTransform()
157
+ @_property
158
+ def pen_tip_transform(self) -> windows_foundation_numerics.Matrix3x2: ...
159
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_PenTipTransform(Windows.Foundation.Numerics.Matrix3x2)
160
+ @pen_tip_transform.setter
161
+ def pen_tip_transform(self, value: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
162
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_DrawAsHighlighter()
163
+ @_property
164
+ def draw_as_highlighter(self) -> bool: ...
165
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_DrawAsHighlighter(System.Boolean)
166
+ @draw_as_highlighter.setter
167
+ def draw_as_highlighter(self, value: bool) -> None: ...
168
+ # Windows.UI.Input.Inking.InkDrawingAttributesKind Windows.UI.Input.Inking.InkDrawingAttributes::get_Kind()
169
+ @_property
170
+ def kind(self) -> InkDrawingAttributesKind: ...
171
+ # Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties Windows.UI.Input.Inking.InkDrawingAttributes::get_PencilProperties()
172
+ @_property
173
+ def pencil_properties(self) -> InkDrawingAttributesPencilProperties: ...
174
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_IgnoreTilt()
175
+ @_property
176
+ def ignore_tilt(self) -> bool: ...
177
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_IgnoreTilt(System.Boolean)
178
+ @ignore_tilt.setter
179
+ def ignore_tilt(self, value: bool) -> None: ...
180
+ # Windows.UI.Input.Inking.InkModelerAttributes Windows.UI.Input.Inking.InkDrawingAttributes::get_ModelerAttributes()
181
+ @_property
182
+ def modeler_attributes(self) -> InkModelerAttributes: ...
183
+
184
+ @typing.final
185
+ class InkDrawingAttributesPencilProperties(winrt.system.Object):
186
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
187
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
188
+ # System.Double Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties::get_Opacity()
189
+ @_property
190
+ def opacity(self) -> winrt.system.Double: ...
191
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties::put_Opacity(System.Double)
192
+ @opacity.setter
193
+ def opacity(self, value: winrt.system.Double) -> None: ...
194
+
195
+ @typing.final
196
+ class InkInputConfiguration(winrt.system.Object):
197
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
198
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
199
+ # System.Boolean Windows.UI.Input.Inking.InkInputConfiguration::get_IsPrimaryBarrelButtonInputEnabled()
200
+ @_property
201
+ def is_primary_barrel_button_input_enabled(self) -> bool: ...
202
+ # System.Void Windows.UI.Input.Inking.InkInputConfiguration::put_IsPrimaryBarrelButtonInputEnabled(System.Boolean)
203
+ @is_primary_barrel_button_input_enabled.setter
204
+ def is_primary_barrel_button_input_enabled(self, value: bool) -> None: ...
205
+ # System.Boolean Windows.UI.Input.Inking.InkInputConfiguration::get_IsEraserInputEnabled()
206
+ @_property
207
+ def is_eraser_input_enabled(self) -> bool: ...
208
+ # System.Void Windows.UI.Input.Inking.InkInputConfiguration::put_IsEraserInputEnabled(System.Boolean)
209
+ @is_eraser_input_enabled.setter
210
+ def is_eraser_input_enabled(self, value: bool) -> None: ...
211
+ # System.Boolean Windows.UI.Input.Inking.InkInputConfiguration::get_IsPenHapticFeedbackEnabled()
212
+ @_property
213
+ def is_pen_haptic_feedback_enabled(self) -> bool: ...
214
+ # System.Void Windows.UI.Input.Inking.InkInputConfiguration::put_IsPenHapticFeedbackEnabled(System.Boolean)
215
+ @is_pen_haptic_feedback_enabled.setter
216
+ def is_pen_haptic_feedback_enabled(self, value: bool) -> None: ...
217
+
218
+ @typing.final
219
+ class InkInputProcessingConfiguration(winrt.system.Object):
220
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
221
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
222
+ # Windows.UI.Input.Inking.InkInputRightDragAction Windows.UI.Input.Inking.InkInputProcessingConfiguration::get_RightDragAction()
223
+ @_property
224
+ def right_drag_action(self) -> InkInputRightDragAction: ...
225
+ # System.Void Windows.UI.Input.Inking.InkInputProcessingConfiguration::put_RightDragAction(Windows.UI.Input.Inking.InkInputRightDragAction)
226
+ @right_drag_action.setter
227
+ def right_drag_action(self, value: InkInputRightDragAction) -> None: ...
228
+ # Windows.UI.Input.Inking.InkInputProcessingMode Windows.UI.Input.Inking.InkInputProcessingConfiguration::get_Mode()
229
+ @_property
230
+ def mode(self) -> InkInputProcessingMode: ...
231
+ # System.Void Windows.UI.Input.Inking.InkInputProcessingConfiguration::put_Mode(Windows.UI.Input.Inking.InkInputProcessingMode)
232
+ @mode.setter
233
+ def mode(self, value: InkInputProcessingMode) -> None: ...
234
+
235
+ @typing.final
236
+ class InkManager(IInkRecognizerContainer, IInkStrokeContainer, winrt.system.Object):
237
+ def __new__(cls) -> typing.Self: ...
238
+ # System.Void Windows.UI.Input.Inking.InkManager::AddStroke(Windows.UI.Input.Inking.InkStroke)
239
+ def add_stroke(self, stroke: InkStroke, /) -> None: ...
240
+ # System.Boolean Windows.UI.Input.Inking.InkManager::CanPasteFromClipboard()
241
+ def can_paste_from_clipboard(self) -> bool: ...
242
+ # System.Void Windows.UI.Input.Inking.InkManager::CopySelectedToClipboard()
243
+ def copy_selected_to_clipboard(self) -> None: ...
244
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::DeleteSelected()
245
+ def delete_selected(self) -> windows_foundation.Rect: ...
246
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult> Windows.UI.Input.Inking.InkManager::GetRecognitionResults()
247
+ def get_recognition_results(self) -> _cabc.Sequence[InkRecognitionResult]: ...
248
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognizer> Windows.UI.Input.Inking.InkManager::GetRecognizers()
249
+ def get_recognizers(self) -> _cabc.Sequence[InkRecognizer]: ...
250
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkManager::GetStrokes()
251
+ def get_strokes(self) -> _cabc.Sequence[InkStroke]: ...
252
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.UInt64> Windows.UI.Input.Inking.InkManager::LoadAsync(Windows.Storage.Streams.IInputStream)
253
+ def load_async(self, input_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
254
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::MoveSelected(Windows.Foundation.Point)
255
+ def move_selected(self, translation: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
256
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::PasteFromClipboard(Windows.Foundation.Point)
257
+ def paste_from_clipboard(self, position: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
258
+ # System.Void Windows.UI.Input.Inking.InkManager::ProcessPointerDown(Windows.UI.Input.PointerPoint)
259
+ def process_pointer_down(self, pointer_point: windows_ui_input.PointerPoint, /) -> None: ...
260
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::ProcessPointerUp(Windows.UI.Input.PointerPoint)
261
+ def process_pointer_up(self, pointer_point: windows_ui_input.PointerPoint, /) -> windows_foundation.Rect: ...
262
+ # System.Object Windows.UI.Input.Inking.InkManager::ProcessPointerUpdate(Windows.UI.Input.PointerPoint)
263
+ def process_pointer_update(self, pointer_point: windows_ui_input.PointerPoint, /) -> winrt.system.Object: ...
264
+ @typing.overload
265
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>> Windows.UI.Input.Inking.InkManager::RecognizeAsync(Windows.UI.Input.Inking.InkRecognitionTarget)
266
+ def recognize_async(self, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[InkRecognitionResult]]: ...
267
+ @typing.overload
268
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>> Windows.UI.Input.Inking.InkManager::RecognizeAsync(Windows.UI.Input.Inking.InkStrokeContainer,Windows.UI.Input.Inking.InkRecognitionTarget)
269
+ def recognize_async(self, stroke_collection: InkStrokeContainer, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[InkRecognitionResult]]: ...
270
+ # Deprecated alias of recognize_async() for pywinrt v3.x compatibility.
271
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>> Windows.UI.Input.Inking.InkManager::RecognizeAsync(Windows.UI.Input.Inking.InkRecognitionTarget)
272
+ @deprecated("Use recognize_async() instead.")
273
+ def recognize_async2(self, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[InkRecognitionResult]]: ...
274
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkManager::SaveAsync(Windows.Storage.Streams.IOutputStream)
275
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
276
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::SelectWithLine(Windows.Foundation.Point,Windows.Foundation.Point)
277
+ def select_with_line(self, from_: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], to: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
278
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::SelectWithPolyLine(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
279
+ def select_with_poly_line(self, polyline: _cabc.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
280
+ # System.Void Windows.UI.Input.Inking.InkManager::SetDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
281
+ def set_default_drawing_attributes(self, drawing_attributes: InkDrawingAttributes, /) -> None: ...
282
+ # System.Void Windows.UI.Input.Inking.InkManager::SetDefaultRecognizer(Windows.UI.Input.Inking.InkRecognizer)
283
+ def set_default_recognizer(self, recognizer: InkRecognizer, /) -> None: ...
284
+ # System.Void Windows.UI.Input.Inking.InkManager::UpdateRecognitionResults(Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>)
285
+ def update_recognition_results(self, recognition_results: _cabc.Sequence[InkRecognitionResult], /) -> None: ...
286
+ # Windows.UI.Input.Inking.InkManipulationMode Windows.UI.Input.Inking.InkManager::get_Mode()
287
+ @_property
288
+ def mode(self) -> InkManipulationMode: ...
289
+ # System.Void Windows.UI.Input.Inking.InkManager::put_Mode(Windows.UI.Input.Inking.InkManipulationMode)
290
+ @mode.setter
291
+ def mode(self, value: InkManipulationMode) -> None: ...
292
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::get_BoundingRect()
293
+ @_property
294
+ def bounding_rect(self) -> windows_foundation.Rect: ...
295
+
296
+ @typing.final
297
+ class InkModelerAttributes(winrt.system.Object):
298
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
299
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
300
+ # System.Single Windows.UI.Input.Inking.InkModelerAttributes::get_ScalingFactor()
301
+ @_property
302
+ def scaling_factor(self) -> winrt.system.Single: ...
303
+ # System.Void Windows.UI.Input.Inking.InkModelerAttributes::put_ScalingFactor(System.Single)
304
+ @scaling_factor.setter
305
+ def scaling_factor(self, value: winrt.system.Single) -> None: ...
306
+ # Windows.Foundation.TimeSpan Windows.UI.Input.Inking.InkModelerAttributes::get_PredictionTime()
307
+ @_property
308
+ def prediction_time(self) -> datetime.timedelta: ...
309
+ # System.Void Windows.UI.Input.Inking.InkModelerAttributes::put_PredictionTime(Windows.Foundation.TimeSpan)
310
+ @prediction_time.setter
311
+ def prediction_time(self, value: datetime.timedelta) -> None: ...
312
+ # System.Boolean Windows.UI.Input.Inking.InkModelerAttributes::get_UseVelocityBasedPressure()
313
+ @_property
314
+ def use_velocity_based_pressure(self) -> bool: ...
315
+ # System.Void Windows.UI.Input.Inking.InkModelerAttributes::put_UseVelocityBasedPressure(System.Boolean)
316
+ @use_velocity_based_pressure.setter
317
+ def use_velocity_based_pressure(self, value: bool) -> None: ...
318
+
319
+ @typing.final
320
+ class InkPoint(winrt.system.Object):
321
+ @typing.overload
322
+ def __new__(cls, position: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], pressure: winrt.system.Single, tilt_x: winrt.system.Single, tilt_y: winrt.system.Single, timestamp: winrt.system.UInt64 | typing.SupportsIndex, /) -> typing.Self: ...
323
+ @typing.overload
324
+ def __new__(cls, position: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], pressure: winrt.system.Single, /) -> typing.Self: ...
325
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkPoint::get_Position()
326
+ @_property
327
+ def position(self) -> windows_foundation.Point: ...
328
+ # System.Single Windows.UI.Input.Inking.InkPoint::get_Pressure()
329
+ @_property
330
+ def pressure(self) -> winrt.system.Single: ...
331
+ # System.Single Windows.UI.Input.Inking.InkPoint::get_TiltX()
332
+ @_property
333
+ def tilt_x(self) -> winrt.system.Single: ...
334
+ # System.Single Windows.UI.Input.Inking.InkPoint::get_TiltY()
335
+ @_property
336
+ def tilt_y(self) -> winrt.system.Single: ...
337
+ # System.UInt64 Windows.UI.Input.Inking.InkPoint::get_Timestamp()
338
+ @_property
339
+ def timestamp(self) -> winrt.system.UInt64: ...
340
+
341
+ @typing.final
342
+ class InkPresenter(winrt.system.Object):
343
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
344
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
345
+ # Windows.UI.Input.Inking.InkSynchronizer Windows.UI.Input.Inking.InkPresenter::ActivateCustomDrying()
346
+ def activate_custom_drying(self) -> InkSynchronizer: ...
347
+ # Windows.UI.Input.Inking.InkDrawingAttributes Windows.UI.Input.Inking.InkPresenter::CopyDefaultDrawingAttributes()
348
+ def copy_default_drawing_attributes(self) -> InkDrawingAttributes: ...
349
+ # System.Void Windows.UI.Input.Inking.InkPresenter::SetPredefinedConfiguration(Windows.UI.Input.Inking.InkPresenterPredefinedConfiguration)
350
+ def set_predefined_configuration(self, value: InkPresenterPredefinedConfiguration, /) -> None: ...
351
+ # System.Void Windows.UI.Input.Inking.InkPresenter::UpdateDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
352
+ def update_default_drawing_attributes(self, value: InkDrawingAttributes, /) -> None: ...
353
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkPresenter::add_StrokesCollected(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkPresenter,Windows.UI.Input.Inking.InkStrokesCollectedEventArgs>)
354
+ def add_strokes_collected(self, handler: windows_foundation.TypedEventHandler[InkPresenter, InkStrokesCollectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
355
+ # System.Void Windows.UI.Input.Inking.InkPresenter::remove_StrokesCollected(Windows.Foundation.EventRegistrationToken)
356
+ def remove_strokes_collected(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
357
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkPresenter::add_StrokesErased(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkPresenter,Windows.UI.Input.Inking.InkStrokesErasedEventArgs>)
358
+ def add_strokes_erased(self, handler: windows_foundation.TypedEventHandler[InkPresenter, InkStrokesErasedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
359
+ # System.Void Windows.UI.Input.Inking.InkPresenter::remove_StrokesErased(Windows.Foundation.EventRegistrationToken)
360
+ def remove_strokes_erased(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
361
+ # Windows.UI.Input.Inking.InkStrokeContainer Windows.UI.Input.Inking.InkPresenter::get_StrokeContainer()
362
+ @_property
363
+ def stroke_container(self) -> InkStrokeContainer: ...
364
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_StrokeContainer(Windows.UI.Input.Inking.InkStrokeContainer)
365
+ @stroke_container.setter
366
+ def stroke_container(self, value: InkStrokeContainer) -> None: ...
367
+ # System.Boolean Windows.UI.Input.Inking.InkPresenter::get_IsInputEnabled()
368
+ @_property
369
+ def is_input_enabled(self) -> bool: ...
370
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_IsInputEnabled(System.Boolean)
371
+ @is_input_enabled.setter
372
+ def is_input_enabled(self, value: bool) -> None: ...
373
+ # Windows.UI.Core.CoreInputDeviceTypes Windows.UI.Input.Inking.InkPresenter::get_InputDeviceTypes()
374
+ @_property
375
+ def input_device_types(self) -> windows_ui_core.CoreInputDeviceTypes: ...
376
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_InputDeviceTypes(Windows.UI.Core.CoreInputDeviceTypes)
377
+ @input_device_types.setter
378
+ def input_device_types(self, value: windows_ui_core.CoreInputDeviceTypes) -> None: ...
379
+ # Windows.UI.Input.Inking.InkInputProcessingConfiguration Windows.UI.Input.Inking.InkPresenter::get_InputProcessingConfiguration()
380
+ @_property
381
+ def input_processing_configuration(self) -> InkInputProcessingConfiguration: ...
382
+ # Windows.UI.Input.Inking.InkStrokeInput Windows.UI.Input.Inking.InkPresenter::get_StrokeInput()
383
+ @_property
384
+ def stroke_input(self) -> InkStrokeInput: ...
385
+ # Windows.UI.Input.Inking.InkUnprocessedInput Windows.UI.Input.Inking.InkPresenter::get_UnprocessedInput()
386
+ @_property
387
+ def unprocessed_input(self) -> InkUnprocessedInput: ...
388
+ # Windows.UI.Input.Inking.InkHighContrastAdjustment Windows.UI.Input.Inking.InkPresenter::get_HighContrastAdjustment()
389
+ @_property
390
+ def high_contrast_adjustment(self) -> InkHighContrastAdjustment: ...
391
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_HighContrastAdjustment(Windows.UI.Input.Inking.InkHighContrastAdjustment)
392
+ @high_contrast_adjustment.setter
393
+ def high_contrast_adjustment(self, value: InkHighContrastAdjustment) -> None: ...
394
+ # Windows.UI.Input.Inking.InkInputConfiguration Windows.UI.Input.Inking.InkPresenter::get_InputConfiguration()
395
+ @_property
396
+ def input_configuration(self) -> InkInputConfiguration: ...
397
+
398
+ @typing.final
399
+ class InkPresenterProtractor(IInkPresenterStencil, winrt.system.Object):
400
+ def __new__(cls, ink_presenter: InkPresenter, /) -> typing.Self: ...
401
+ # System.Double Windows.UI.Input.Inking.InkPresenterProtractor::get_Radius()
402
+ @_property
403
+ def radius(self) -> winrt.system.Double: ...
404
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_Radius(System.Double)
405
+ @radius.setter
406
+ def radius(self, value: winrt.system.Double) -> None: ...
407
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsResizable()
408
+ @_property
409
+ def is_resizable(self) -> bool: ...
410
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsResizable(System.Boolean)
411
+ @is_resizable.setter
412
+ def is_resizable(self, value: bool) -> None: ...
413
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsCenterMarkerVisible()
414
+ @_property
415
+ def is_center_marker_visible(self) -> bool: ...
416
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsCenterMarkerVisible(System.Boolean)
417
+ @is_center_marker_visible.setter
418
+ def is_center_marker_visible(self, value: bool) -> None: ...
419
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsAngleReadoutVisible()
420
+ @_property
421
+ def is_angle_readout_visible(self) -> bool: ...
422
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsAngleReadoutVisible(System.Boolean)
423
+ @is_angle_readout_visible.setter
424
+ def is_angle_readout_visible(self, value: bool) -> None: ...
425
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_AreTickMarksVisible()
426
+ @_property
427
+ def are_tick_marks_visible(self) -> bool: ...
428
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_AreTickMarksVisible(System.Boolean)
429
+ @are_tick_marks_visible.setter
430
+ def are_tick_marks_visible(self, value: bool) -> None: ...
431
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_AreRaysVisible()
432
+ @_property
433
+ def are_rays_visible(self) -> bool: ...
434
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_AreRaysVisible(System.Boolean)
435
+ @are_rays_visible.setter
436
+ def are_rays_visible(self, value: bool) -> None: ...
437
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterProtractor::get_AccentColor()
438
+ @_property
439
+ def accent_color(self) -> windows_ui.Color: ...
440
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_AccentColor(Windows.UI.Color)
441
+ @accent_color.setter
442
+ def accent_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
443
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkPresenterProtractor::get_Transform()
444
+ @_property
445
+ def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
446
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_Transform(Windows.Foundation.Numerics.Matrix3x2)
447
+ @transform.setter
448
+ def transform(self, value: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
449
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsVisible()
450
+ @_property
451
+ def is_visible(self) -> bool: ...
452
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsVisible(System.Boolean)
453
+ @is_visible.setter
454
+ def is_visible(self, value: bool) -> None: ...
455
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterProtractor::get_ForegroundColor()
456
+ @_property
457
+ def foreground_color(self) -> windows_ui.Color: ...
458
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_ForegroundColor(Windows.UI.Color)
459
+ @foreground_color.setter
460
+ def foreground_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
461
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterProtractor::get_BackgroundColor()
462
+ @_property
463
+ def background_color(self) -> windows_ui.Color: ...
464
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_BackgroundColor(Windows.UI.Color)
465
+ @background_color.setter
466
+ def background_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
467
+ # Windows.UI.Input.Inking.InkPresenterStencilKind Windows.UI.Input.Inking.InkPresenterProtractor::get_Kind()
468
+ @_property
469
+ def kind(self) -> InkPresenterStencilKind: ...
470
+
471
+ @typing.final
472
+ class InkPresenterRuler(IInkPresenterStencil, winrt.system.Object):
473
+ def __new__(cls, ink_presenter: InkPresenter, /) -> typing.Self: ...
474
+ # System.Double Windows.UI.Input.Inking.InkPresenterRuler::get_Width()
475
+ @_property
476
+ def width(self) -> winrt.system.Double: ...
477
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_Width(System.Double)
478
+ @width.setter
479
+ def width(self, value: winrt.system.Double) -> None: ...
480
+ # System.Double Windows.UI.Input.Inking.InkPresenterRuler::get_Length()
481
+ @_property
482
+ def length(self) -> winrt.system.Double: ...
483
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_Length(System.Double)
484
+ @length.setter
485
+ def length(self, value: winrt.system.Double) -> None: ...
486
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterRuler::get_IsCompassVisible()
487
+ @_property
488
+ def is_compass_visible(self) -> bool: ...
489
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_IsCompassVisible(System.Boolean)
490
+ @is_compass_visible.setter
491
+ def is_compass_visible(self, value: bool) -> None: ...
492
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterRuler::get_AreTickMarksVisible()
493
+ @_property
494
+ def are_tick_marks_visible(self) -> bool: ...
495
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_AreTickMarksVisible(System.Boolean)
496
+ @are_tick_marks_visible.setter
497
+ def are_tick_marks_visible(self, value: bool) -> None: ...
498
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkPresenterRuler::get_Transform()
499
+ @_property
500
+ def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
501
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_Transform(Windows.Foundation.Numerics.Matrix3x2)
502
+ @transform.setter
503
+ def transform(self, value: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
504
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterRuler::get_IsVisible()
505
+ @_property
506
+ def is_visible(self) -> bool: ...
507
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_IsVisible(System.Boolean)
508
+ @is_visible.setter
509
+ def is_visible(self, value: bool) -> None: ...
510
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterRuler::get_ForegroundColor()
511
+ @_property
512
+ def foreground_color(self) -> windows_ui.Color: ...
513
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_ForegroundColor(Windows.UI.Color)
514
+ @foreground_color.setter
515
+ def foreground_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
516
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterRuler::get_BackgroundColor()
517
+ @_property
518
+ def background_color(self) -> windows_ui.Color: ...
519
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_BackgroundColor(Windows.UI.Color)
520
+ @background_color.setter
521
+ def background_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
522
+ # Windows.UI.Input.Inking.InkPresenterStencilKind Windows.UI.Input.Inking.InkPresenterRuler::get_Kind()
523
+ @_property
524
+ def kind(self) -> InkPresenterStencilKind: ...
525
+
526
+ @typing.final
527
+ class InkRecognitionResult(winrt.system.Object):
528
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
529
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
530
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkRecognitionResult::GetStrokes()
531
+ def get_strokes(self) -> _cabc.Sequence[InkStroke]: ...
532
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.UI.Input.Inking.InkRecognitionResult::GetTextCandidates()
533
+ def get_text_candidates(self) -> _cabc.Sequence[str]: ...
534
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkRecognitionResult::get_BoundingRect()
535
+ @_property
536
+ def bounding_rect(self) -> windows_foundation.Rect: ...
537
+
538
+ @typing.final
539
+ class InkRecognizer(winrt.system.Object):
540
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
541
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
542
+ # System.String Windows.UI.Input.Inking.InkRecognizer::get_Name()
543
+ @_property
544
+ def name(self) -> str: ...
545
+
546
+ @typing.final
547
+ class InkRecognizerContainer(IInkRecognizerContainer, winrt.system.Object):
548
+ def __new__(cls) -> typing.Self: ...
549
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognizer> Windows.UI.Input.Inking.InkRecognizerContainer::GetRecognizers()
550
+ def get_recognizers(self) -> _cabc.Sequence[InkRecognizer]: ...
551
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>> Windows.UI.Input.Inking.InkRecognizerContainer::RecognizeAsync(Windows.UI.Input.Inking.InkStrokeContainer,Windows.UI.Input.Inking.InkRecognitionTarget)
552
+ def recognize_async(self, stroke_collection: InkStrokeContainer, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[InkRecognitionResult]]: ...
553
+ # System.Void Windows.UI.Input.Inking.InkRecognizerContainer::SetDefaultRecognizer(Windows.UI.Input.Inking.InkRecognizer)
554
+ def set_default_recognizer(self, recognizer: InkRecognizer, /) -> None: ...
555
+
556
+ @typing.final
557
+ class InkStroke(winrt.system.Object):
558
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
559
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
560
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStroke::Clone()
561
+ def clone(self) -> InkStroke: ...
562
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkPoint> Windows.UI.Input.Inking.InkStroke::GetInkPoints()
563
+ def get_ink_points(self) -> _cabc.Sequence[InkPoint]: ...
564
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStrokeRenderingSegment> Windows.UI.Input.Inking.InkStroke::GetRenderingSegments()
565
+ def get_rendering_segments(self) -> _cabc.Sequence[InkStrokeRenderingSegment]: ...
566
+ # System.Boolean Windows.UI.Input.Inking.InkStroke::get_Selected()
567
+ @_property
568
+ def selected(self) -> bool: ...
569
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_Selected(System.Boolean)
570
+ @selected.setter
571
+ def selected(self, value: bool) -> None: ...
572
+ # Windows.UI.Input.Inking.InkDrawingAttributes Windows.UI.Input.Inking.InkStroke::get_DrawingAttributes()
573
+ @_property
574
+ def drawing_attributes(self) -> InkDrawingAttributes: ...
575
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_DrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
576
+ @drawing_attributes.setter
577
+ def drawing_attributes(self, value: InkDrawingAttributes) -> None: ...
578
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStroke::get_BoundingRect()
579
+ @_property
580
+ def bounding_rect(self) -> windows_foundation.Rect: ...
581
+ # System.Boolean Windows.UI.Input.Inking.InkStroke::get_Recognized()
582
+ @_property
583
+ def recognized(self) -> bool: ...
584
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkStroke::get_PointTransform()
585
+ @_property
586
+ def point_transform(self) -> windows_foundation_numerics.Matrix3x2: ...
587
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_PointTransform(Windows.Foundation.Numerics.Matrix3x2)
588
+ @point_transform.setter
589
+ def point_transform(self, value: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
590
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.UI.Input.Inking.InkStroke::get_StrokeStartedTime()
591
+ @_property
592
+ def stroke_started_time(self) -> datetime.datetime | None: ...
593
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_StrokeStartedTime(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
594
+ @stroke_started_time.setter
595
+ def stroke_started_time(self, value: datetime.datetime | None) -> None: ...
596
+ # Windows.Foundation.IReference`1<Windows.Foundation.TimeSpan> Windows.UI.Input.Inking.InkStroke::get_StrokeDuration()
597
+ @_property
598
+ def stroke_duration(self) -> datetime.timedelta | None: ...
599
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_StrokeDuration(Windows.Foundation.IReference`1<Windows.Foundation.TimeSpan>)
600
+ @stroke_duration.setter
601
+ def stroke_duration(self, value: datetime.timedelta | None) -> None: ...
602
+ # System.UInt32 Windows.UI.Input.Inking.InkStroke::get_Id()
603
+ @_property
604
+ def id(self) -> winrt.system.UInt32: ...
605
+ # System.UInt32 Windows.UI.Input.Inking.InkStroke::get_PointerId()
606
+ @_property
607
+ def pointer_id(self) -> winrt.system.UInt32: ...
608
+
609
+ @typing.final
610
+ class InkStrokeBuilder(winrt.system.Object):
611
+ def __new__(cls) -> typing.Self: ...
612
+ # Windows.UI.Input.PointerPoint Windows.UI.Input.Inking.InkStrokeBuilder::AppendToStroke(Windows.UI.Input.PointerPoint)
613
+ def append_to_stroke(self, pointer_point: windows_ui_input.PointerPoint, /) -> windows_ui_input.PointerPoint: ...
614
+ # System.Void Windows.UI.Input.Inking.InkStrokeBuilder::BeginStroke(Windows.UI.Input.PointerPoint)
615
+ def begin_stroke(self, pointer_point: windows_ui_input.PointerPoint, /) -> None: ...
616
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeBuilder::CreateStroke(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
617
+ def create_stroke(self, points: _cabc.Iterable[windows_foundation.Point], /) -> InkStroke: ...
618
+ @typing.overload
619
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeBuilder::CreateStrokeFromInkPoints(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Inking.InkPoint>,Windows.Foundation.Numerics.Matrix3x2)
620
+ def create_stroke_from_ink_points(self, ink_points: _cabc.Iterable[InkPoint], transform: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> InkStroke: ...
621
+ @typing.overload
622
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeBuilder::CreateStrokeFromInkPoints(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Inking.InkPoint>,Windows.Foundation.Numerics.Matrix3x2,Windows.Foundation.IReference`1<Windows.Foundation.DateTime>,Windows.Foundation.IReference`1<Windows.Foundation.TimeSpan>)
623
+ def create_stroke_from_ink_points(self, ink_points: _cabc.Iterable[InkPoint], transform: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], stroke_started_time: datetime.datetime | None, stroke_duration: datetime.timedelta | None, /) -> InkStroke: ...
624
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeBuilder::EndStroke(Windows.UI.Input.PointerPoint)
625
+ def end_stroke(self, pointer_point: windows_ui_input.PointerPoint, /) -> InkStroke: ...
626
+ # System.Void Windows.UI.Input.Inking.InkStrokeBuilder::SetDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
627
+ def set_default_drawing_attributes(self, drawing_attributes: InkDrawingAttributes, /) -> None: ...
628
+
629
+ @typing.final
630
+ class InkStrokeContainer(IInkStrokeContainer, winrt.system.Object):
631
+ def __new__(cls) -> typing.Self: ...
632
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::AddStroke(Windows.UI.Input.Inking.InkStroke)
633
+ def add_stroke(self, stroke: InkStroke, /) -> None: ...
634
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::AddStrokes(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Inking.InkStroke>)
635
+ def add_strokes(self, strokes: _cabc.Iterable[InkStroke], /) -> None: ...
636
+ # System.Boolean Windows.UI.Input.Inking.InkStrokeContainer::CanPasteFromClipboard()
637
+ def can_paste_from_clipboard(self) -> bool: ...
638
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::Clear()
639
+ def clear(self) -> None: ...
640
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::CopySelectedToClipboard()
641
+ def copy_selected_to_clipboard(self) -> None: ...
642
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::DeleteSelected()
643
+ def delete_selected(self) -> windows_foundation.Rect: ...
644
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult> Windows.UI.Input.Inking.InkStrokeContainer::GetRecognitionResults()
645
+ def get_recognition_results(self) -> _cabc.Sequence[InkRecognitionResult]: ...
646
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeContainer::GetStrokeById(System.UInt32)
647
+ def get_stroke_by_id(self, id: winrt.system.UInt32 | typing.SupportsIndex, /) -> InkStroke: ...
648
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkStrokeContainer::GetStrokes()
649
+ def get_strokes(self) -> _cabc.Sequence[InkStroke]: ...
650
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.UInt64> Windows.UI.Input.Inking.InkStrokeContainer::LoadAsync(Windows.Storage.Streams.IInputStream)
651
+ def load_async(self, input_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
652
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::MoveSelected(Windows.Foundation.Point)
653
+ def move_selected(self, translation: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
654
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::PasteFromClipboard(Windows.Foundation.Point)
655
+ def paste_from_clipboard(self, position: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
656
+ @typing.overload
657
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream)
658
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
659
+ @typing.overload
660
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream,Windows.UI.Input.Inking.InkPersistenceFormat)
661
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, ink_persistence_format: InkPersistenceFormat, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
662
+ # Deprecated alias of save_async() for pywinrt v3.x compatibility.
663
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream,Windows.UI.Input.Inking.InkPersistenceFormat)
664
+ @deprecated("Use save_async() instead.")
665
+ def save_with_format_async(self, output_stream: windows_storage_streams.IOutputStream, ink_persistence_format: InkPersistenceFormat, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
666
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::SelectWithLine(Windows.Foundation.Point,Windows.Foundation.Point)
667
+ def select_with_line(self, from_: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], to: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
668
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::SelectWithPolyLine(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
669
+ def select_with_poly_line(self, polyline: _cabc.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
670
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::UpdateRecognitionResults(Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>)
671
+ def update_recognition_results(self, recognition_results: _cabc.Sequence[InkRecognitionResult], /) -> None: ...
672
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::get_BoundingRect()
673
+ @_property
674
+ def bounding_rect(self) -> windows_foundation.Rect: ...
675
+
676
+ @typing.final
677
+ class InkStrokeInput(winrt.system.Object):
678
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
679
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
680
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
681
+ def add_stroke_canceled(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
682
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeCanceled(Windows.Foundation.EventRegistrationToken)
683
+ def remove_stroke_canceled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
684
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeContinued(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
685
+ def add_stroke_continued(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
686
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeContinued(Windows.Foundation.EventRegistrationToken)
687
+ def remove_stroke_continued(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
688
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeEnded(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
689
+ def add_stroke_ended(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
690
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeEnded(Windows.Foundation.EventRegistrationToken)
691
+ def remove_stroke_ended(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
692
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
693
+ def add_stroke_started(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
694
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeStarted(Windows.Foundation.EventRegistrationToken)
695
+ def remove_stroke_started(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
696
+ # Windows.UI.Input.Inking.InkPresenter Windows.UI.Input.Inking.InkStrokeInput::get_InkPresenter()
697
+ @_property
698
+ def ink_presenter(self) -> InkPresenter: ...
699
+
700
+ @typing.final
701
+ class InkStrokeRenderingSegment(winrt.system.Object):
702
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
703
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
704
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_BezierControlPoint1()
705
+ @_property
706
+ def bezier_control_point1(self) -> windows_foundation.Point: ...
707
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_BezierControlPoint2()
708
+ @_property
709
+ def bezier_control_point2(self) -> windows_foundation.Point: ...
710
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_Position()
711
+ @_property
712
+ def position(self) -> windows_foundation.Point: ...
713
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_Pressure()
714
+ @_property
715
+ def pressure(self) -> winrt.system.Single: ...
716
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_TiltX()
717
+ @_property
718
+ def tilt_x(self) -> winrt.system.Single: ...
719
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_TiltY()
720
+ @_property
721
+ def tilt_y(self) -> winrt.system.Single: ...
722
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_Twist()
723
+ @_property
724
+ def twist(self) -> winrt.system.Single: ...
725
+
726
+ @typing.final
727
+ class InkStrokesCollectedEventArgs(winrt.system.Object):
728
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
729
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
730
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkStrokesCollectedEventArgs::get_Strokes()
731
+ @_property
732
+ def strokes(self) -> _cabc.Sequence[InkStroke]: ...
733
+
734
+ @typing.final
735
+ class InkStrokesErasedEventArgs(winrt.system.Object):
736
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
737
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
738
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkStrokesErasedEventArgs::get_Strokes()
739
+ @_property
740
+ def strokes(self) -> _cabc.Sequence[InkStroke]: ...
741
+
742
+ @typing.final
743
+ class InkSynchronizer(winrt.system.Object):
744
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
745
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
746
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkSynchronizer::BeginDry()
747
+ def begin_dry(self) -> _cabc.Sequence[InkStroke]: ...
748
+ # System.Void Windows.UI.Input.Inking.InkSynchronizer::EndDry()
749
+ def end_dry(self) -> None: ...
750
+
751
+ @typing.final
752
+ class InkUnprocessedInput(winrt.system.Object):
753
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
754
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
755
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerEntered(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
756
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
757
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerEntered(Windows.Foundation.EventRegistrationToken)
758
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
759
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerExited(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
760
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
761
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerExited(Windows.Foundation.EventRegistrationToken)
762
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
763
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerHovered(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
764
+ def add_pointer_hovered(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
765
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerHovered(Windows.Foundation.EventRegistrationToken)
766
+ def remove_pointer_hovered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
767
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerLost(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
768
+ def add_pointer_lost(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
769
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerLost(Windows.Foundation.EventRegistrationToken)
770
+ def remove_pointer_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
771
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerMoved(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
772
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
773
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerMoved(Windows.Foundation.EventRegistrationToken)
774
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
775
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerPressed(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
776
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
777
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerPressed(Windows.Foundation.EventRegistrationToken)
778
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
779
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerReleased(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
780
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
781
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerReleased(Windows.Foundation.EventRegistrationToken)
782
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
783
+ # Windows.UI.Input.Inking.InkPresenter Windows.UI.Input.Inking.InkUnprocessedInput::get_InkPresenter()
784
+ @_property
785
+ def ink_presenter(self) -> InkPresenter: ...
786
+
787
+ @typing.final
788
+ class PenAndInkSettings_Static(winrt.system.Object_Static):
789
+ # Windows.UI.Input.Inking.PenAndInkSettings Windows.UI.Input.Inking.PenAndInkSettings::GetDefault()
790
+ def get_default(cls) -> PenAndInkSettings: ...
791
+
792
+ @typing.final
793
+ class PenAndInkSettings(winrt.system.Object, metaclass=PenAndInkSettings_Static):
794
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
795
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
796
+ # System.Void Windows.UI.Input.Inking.PenAndInkSettings::SetPenHandedness(Windows.UI.Input.Inking.PenHandedness)
797
+ def set_pen_handedness(self, value: PenHandedness, /) -> None: ...
798
+ # System.String Windows.UI.Input.Inking.PenAndInkSettings::get_FontFamilyName()
799
+ @_property
800
+ def font_family_name(self) -> str: ...
801
+ # Windows.UI.Input.Inking.HandwritingLineHeight Windows.UI.Input.Inking.PenAndInkSettings::get_HandwritingLineHeight()
802
+ @_property
803
+ def handwriting_line_height(self) -> HandwritingLineHeight: ...
804
+ # System.Boolean Windows.UI.Input.Inking.PenAndInkSettings::get_IsHandwritingDirectlyIntoTextFieldEnabled()
805
+ @_property
806
+ def is_handwriting_directly_into_text_field_enabled(self) -> bool: ...
807
+ # System.Boolean Windows.UI.Input.Inking.PenAndInkSettings::get_IsTouchHandwritingEnabled()
808
+ @_property
809
+ def is_touch_handwriting_enabled(self) -> bool: ...
810
+ # Windows.UI.Input.Inking.PenHandedness Windows.UI.Input.Inking.PenAndInkSettings::get_PenHandedness()
811
+ @_property
812
+ def pen_handedness(self) -> PenHandedness: ...
813
+ # System.Boolean Windows.UI.Input.Inking.PenAndInkSettings::get_UserConsentsToHandwritingTelemetryCollection()
814
+ @_property
815
+ def user_consents_to_handwriting_telemetry_collection(self) -> bool: ...
816
+
817
+ class IInkPointFactory(winrt.system.Object):
818
+ # Windows.UI.Input.Inking.InkPoint Windows.UI.Input.Inking.IInkPointFactory::CreateInkPoint(Windows.Foundation.Point,System.Single)
819
+ @abstractmethod
820
+ def create_ink_point(self, position: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], pressure: winrt.system.Single, /) -> InkPoint: ...
821
+
822
+ class IInkPresenterRulerFactory(winrt.system.Object):
823
+ # Windows.UI.Input.Inking.InkPresenterRuler Windows.UI.Input.Inking.IInkPresenterRulerFactory::Create(Windows.UI.Input.Inking.InkPresenter)
824
+ @abstractmethod
825
+ def create(self, ink_presenter: InkPresenter, /) -> InkPresenterRuler: ...
826
+
827
+ class IInkPresenterStencil(winrt.system.Object):
828
+ # Windows.UI.Color Windows.UI.Input.Inking.IInkPresenterStencil::get_BackgroundColor()
829
+ @_property
830
+ @abstractmethod
831
+ def background_color(self) -> windows_ui.Color: ...
832
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_BackgroundColor(Windows.UI.Color)
833
+ @background_color.setter
834
+ @abstractmethod
835
+ def background_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
836
+ # Windows.UI.Color Windows.UI.Input.Inking.IInkPresenterStencil::get_ForegroundColor()
837
+ @_property
838
+ @abstractmethod
839
+ def foreground_color(self) -> windows_ui.Color: ...
840
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_ForegroundColor(Windows.UI.Color)
841
+ @foreground_color.setter
842
+ @abstractmethod
843
+ def foreground_color(self, value: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex]) -> None: ...
844
+ # System.Boolean Windows.UI.Input.Inking.IInkPresenterStencil::get_IsVisible()
845
+ @_property
846
+ @abstractmethod
847
+ def is_visible(self) -> bool: ...
848
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_IsVisible(System.Boolean)
849
+ @is_visible.setter
850
+ @abstractmethod
851
+ def is_visible(self, value: bool) -> None: ...
852
+ # Windows.UI.Input.Inking.InkPresenterStencilKind Windows.UI.Input.Inking.IInkPresenterStencil::get_Kind()
853
+ @_property
854
+ @abstractmethod
855
+ def kind(self) -> InkPresenterStencilKind: ...
856
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.IInkPresenterStencil::get_Transform()
857
+ @_property
858
+ @abstractmethod
859
+ def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
860
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_Transform(Windows.Foundation.Numerics.Matrix3x2)
861
+ @transform.setter
862
+ @abstractmethod
863
+ def transform(self, value: windows_foundation_numerics.Matrix3x2 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
864
+
865
+ class IInkRecognizerContainer(winrt.system.Object):
866
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognizer> Windows.UI.Input.Inking.IInkRecognizerContainer::GetRecognizers()
867
+ @abstractmethod
868
+ def get_recognizers(self) -> _cabc.Sequence[InkRecognizer]: ...
869
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>> Windows.UI.Input.Inking.IInkRecognizerContainer::RecognizeAsync(Windows.UI.Input.Inking.InkStrokeContainer,Windows.UI.Input.Inking.InkRecognitionTarget)
870
+ @abstractmethod
871
+ def recognize_async(self, stroke_collection: InkStrokeContainer, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[InkRecognitionResult]]: ...
872
+ # System.Void Windows.UI.Input.Inking.IInkRecognizerContainer::SetDefaultRecognizer(Windows.UI.Input.Inking.InkRecognizer)
873
+ @abstractmethod
874
+ def set_default_recognizer(self, recognizer: InkRecognizer, /) -> None: ...
875
+
876
+ class IInkStrokeContainer(winrt.system.Object):
877
+ # System.Void Windows.UI.Input.Inking.IInkStrokeContainer::AddStroke(Windows.UI.Input.Inking.InkStroke)
878
+ @abstractmethod
879
+ def add_stroke(self, stroke: InkStroke, /) -> None: ...
880
+ # System.Boolean Windows.UI.Input.Inking.IInkStrokeContainer::CanPasteFromClipboard()
881
+ @abstractmethod
882
+ def can_paste_from_clipboard(self) -> bool: ...
883
+ # System.Void Windows.UI.Input.Inking.IInkStrokeContainer::CopySelectedToClipboard()
884
+ @abstractmethod
885
+ def copy_selected_to_clipboard(self) -> None: ...
886
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::DeleteSelected()
887
+ @abstractmethod
888
+ def delete_selected(self) -> windows_foundation.Rect: ...
889
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult> Windows.UI.Input.Inking.IInkStrokeContainer::GetRecognitionResults()
890
+ @abstractmethod
891
+ def get_recognition_results(self) -> _cabc.Sequence[InkRecognitionResult]: ...
892
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.IInkStrokeContainer::GetStrokes()
893
+ @abstractmethod
894
+ def get_strokes(self) -> _cabc.Sequence[InkStroke]: ...
895
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.UInt64> Windows.UI.Input.Inking.IInkStrokeContainer::LoadAsync(Windows.Storage.Streams.IInputStream)
896
+ @abstractmethod
897
+ def load_async(self, input_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
898
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::MoveSelected(Windows.Foundation.Point)
899
+ @abstractmethod
900
+ def move_selected(self, translation: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
901
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::PasteFromClipboard(Windows.Foundation.Point)
902
+ @abstractmethod
903
+ def paste_from_clipboard(self, position: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
904
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.IInkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream)
905
+ @abstractmethod
906
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
907
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::SelectWithLine(Windows.Foundation.Point,Windows.Foundation.Point)
908
+ @abstractmethod
909
+ def select_with_line(self, from_: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], to: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_foundation.Rect: ...
910
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::SelectWithPolyLine(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
911
+ @abstractmethod
912
+ def select_with_poly_line(self, polyline: _cabc.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
913
+ # System.Void Windows.UI.Input.Inking.IInkStrokeContainer::UpdateRecognitionResults(Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>)
914
+ @abstractmethod
915
+ def update_recognition_results(self, recognition_results: _cabc.Sequence[InkRecognitionResult], /) -> None: ...
916
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::get_BoundingRect()
917
+ @_property
918
+ @abstractmethod
919
+ def bounding_rect(self) -> windows_foundation.Rect: ...
920
+
File without changes
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.Input.Inking
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.UI.Input.Inking namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation-numerics[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-ui-core[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Requires-Dist: winrt-windows-ui-input[all]>=4!10.0.28000.2705; extra == 'all'
33
+ Requires-Dist: winrt-windows-ui[all]>=4!10.0.28000.2705; extra == 'all'
34
+ Description-Content-Type: text/markdown
35
+
36
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
37
+
38
+ # winrt-Windows.UI.Input.Inking
39
+
40
+ Windows Runtime (WinRT) APIs for the `Windows.UI.Input.Inking` namespace.
41
+
42
+ This package provides the `winrt.windows.ui.input.inking` module.
43
+
44
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
45
+ `Microsoft.Windows.SDK.CPP` NuGet package.
46
+
47
+ ```
48
+ pip install winrt-Windows.UI.Input.Inking
49
+ ```
50
+
51
+ Other WinRT namespaces are packages of their own, so install the package of
52
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/input/inking/__init__.py,sha256=OdCaeYCZZa7fopb2fLcLuDw0ptw4xUEqQ5HCMxdXAzY,1498
2
+ winrt/windows/ui/input/inking/__init__.pyi,sha256=u7-Vk3MXETo1qQt0hLxj_7thsYVxaRhZDhc4KHOsQFk,65946
3
+ winrt/windows/ui/input/inking/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/input/inking/_table.pywinrt,sha256=7fDe8COKrrlrf2CM5JHe7nRpYPs9BdE_oFyHFi-5KwQ,69512
5
+ winrt_windows_ui_input_inking-4!10.0.28000.2705.dist-info/METADATA,sha256=y69gCQzu_n0Al3Q5YgF2E0il95nByNFnGt9udCGJor8,2412
6
+ winrt_windows_ui_input_inking-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_input_inking-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_input_inking-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE