winrt-Windows.UI.Input.Inking 3.2.1__cp314-cp314-win32.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,800 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
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
+ from winrt.windows.ui.input.inking import HandwritingLineHeight, InkDrawingAttributesKind, InkHighContrastAdjustment, InkInputProcessingMode, InkInputRightDragAction, InkManipulationMode, InkPersistenceFormat, InkPresenterPredefinedConfiguration, InkPresenterStencilKind, InkRecognitionTarget, PenHandedness, PenTipShape
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class InkDrawingAttributes_Static(winrt._winrt.IInspectable_Static):
27
+ # Windows.UI.Input.Inking.InkDrawingAttributes Windows.UI.Input.Inking.InkDrawingAttributes::CreateForPencil()
28
+ def create_for_pencil(cls) -> InkDrawingAttributes: ...
29
+
30
+ @typing.final
31
+ class InkDrawingAttributes(winrt.system.Object, metaclass=InkDrawingAttributes_Static):
32
+ def __new__(cls: typing.Type[Self]) -> Self: ...
33
+ # Windows.Foundation.Size Windows.UI.Input.Inking.InkDrawingAttributes::get_Size()
34
+ @_property
35
+ def size(self) -> windows_foundation.Size: ...
36
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_Size(Windows.Foundation.Size)
37
+ @size.setter
38
+ def size(self, value: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]]) -> None: ...
39
+ # Windows.UI.Input.Inking.PenTipShape Windows.UI.Input.Inking.InkDrawingAttributes::get_PenTip()
40
+ @_property
41
+ def pen_tip(self) -> PenTipShape: ...
42
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_PenTip(Windows.UI.Input.Inking.PenTipShape)
43
+ @pen_tip.setter
44
+ def pen_tip(self, value: PenTipShape) -> None: ...
45
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_IgnorePressure()
46
+ @_property
47
+ def ignore_pressure(self) -> bool: ...
48
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_IgnorePressure(System.Boolean)
49
+ @ignore_pressure.setter
50
+ def ignore_pressure(self, value: bool) -> None: ...
51
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_FitToCurve()
52
+ @_property
53
+ def fit_to_curve(self) -> bool: ...
54
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_FitToCurve(System.Boolean)
55
+ @fit_to_curve.setter
56
+ def fit_to_curve(self, value: bool) -> None: ...
57
+ # Windows.UI.Color Windows.UI.Input.Inking.InkDrawingAttributes::get_Color()
58
+ @_property
59
+ def color(self) -> windows_ui.Color: ...
60
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_Color(Windows.UI.Color)
61
+ @color.setter
62
+ def color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
63
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkDrawingAttributes::get_PenTipTransform()
64
+ @_property
65
+ def pen_tip_transform(self) -> windows_foundation_numerics.Matrix3x2: ...
66
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_PenTipTransform(Windows.Foundation.Numerics.Matrix3x2)
67
+ @pen_tip_transform.setter
68
+ def pen_tip_transform(self, value: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
69
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_DrawAsHighlighter()
70
+ @_property
71
+ def draw_as_highlighter(self) -> bool: ...
72
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_DrawAsHighlighter(System.Boolean)
73
+ @draw_as_highlighter.setter
74
+ def draw_as_highlighter(self, value: bool) -> None: ...
75
+ # Windows.UI.Input.Inking.InkDrawingAttributesKind Windows.UI.Input.Inking.InkDrawingAttributes::get_Kind()
76
+ @_property
77
+ def kind(self) -> InkDrawingAttributesKind: ...
78
+ # Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties Windows.UI.Input.Inking.InkDrawingAttributes::get_PencilProperties()
79
+ @_property
80
+ def pencil_properties(self) -> InkDrawingAttributesPencilProperties: ...
81
+ # System.Boolean Windows.UI.Input.Inking.InkDrawingAttributes::get_IgnoreTilt()
82
+ @_property
83
+ def ignore_tilt(self) -> bool: ...
84
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributes::put_IgnoreTilt(System.Boolean)
85
+ @ignore_tilt.setter
86
+ def ignore_tilt(self, value: bool) -> None: ...
87
+ # Windows.UI.Input.Inking.InkModelerAttributes Windows.UI.Input.Inking.InkDrawingAttributes::get_ModelerAttributes()
88
+ @_property
89
+ def modeler_attributes(self) -> InkModelerAttributes: ...
90
+
91
+ @typing.final
92
+ class InkDrawingAttributesPencilProperties(winrt.system.Object):
93
+ # System.Double Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties::get_Opacity()
94
+ @_property
95
+ def opacity(self) -> winrt.system.Double: ...
96
+ # System.Void Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties::put_Opacity(System.Double)
97
+ @opacity.setter
98
+ def opacity(self, value: winrt.system.Double) -> None: ...
99
+
100
+ @typing.final
101
+ class InkInputConfiguration(winrt.system.Object):
102
+ # System.Boolean Windows.UI.Input.Inking.InkInputConfiguration::get_IsPrimaryBarrelButtonInputEnabled()
103
+ @_property
104
+ def is_primary_barrel_button_input_enabled(self) -> bool: ...
105
+ # System.Void Windows.UI.Input.Inking.InkInputConfiguration::put_IsPrimaryBarrelButtonInputEnabled(System.Boolean)
106
+ @is_primary_barrel_button_input_enabled.setter
107
+ def is_primary_barrel_button_input_enabled(self, value: bool) -> None: ...
108
+ # System.Boolean Windows.UI.Input.Inking.InkInputConfiguration::get_IsEraserInputEnabled()
109
+ @_property
110
+ def is_eraser_input_enabled(self) -> bool: ...
111
+ # System.Void Windows.UI.Input.Inking.InkInputConfiguration::put_IsEraserInputEnabled(System.Boolean)
112
+ @is_eraser_input_enabled.setter
113
+ def is_eraser_input_enabled(self, value: bool) -> None: ...
114
+ # System.Boolean Windows.UI.Input.Inking.InkInputConfiguration::get_IsPenHapticFeedbackEnabled()
115
+ @_property
116
+ def is_pen_haptic_feedback_enabled(self) -> bool: ...
117
+ # System.Void Windows.UI.Input.Inking.InkInputConfiguration::put_IsPenHapticFeedbackEnabled(System.Boolean)
118
+ @is_pen_haptic_feedback_enabled.setter
119
+ def is_pen_haptic_feedback_enabled(self, value: bool) -> None: ...
120
+
121
+ @typing.final
122
+ class InkInputProcessingConfiguration(winrt.system.Object):
123
+ # Windows.UI.Input.Inking.InkInputRightDragAction Windows.UI.Input.Inking.InkInputProcessingConfiguration::get_RightDragAction()
124
+ @_property
125
+ def right_drag_action(self) -> InkInputRightDragAction: ...
126
+ # System.Void Windows.UI.Input.Inking.InkInputProcessingConfiguration::put_RightDragAction(Windows.UI.Input.Inking.InkInputRightDragAction)
127
+ @right_drag_action.setter
128
+ def right_drag_action(self, value: InkInputRightDragAction) -> None: ...
129
+ # Windows.UI.Input.Inking.InkInputProcessingMode Windows.UI.Input.Inking.InkInputProcessingConfiguration::get_Mode()
130
+ @_property
131
+ def mode(self) -> InkInputProcessingMode: ...
132
+ # System.Void Windows.UI.Input.Inking.InkInputProcessingConfiguration::put_Mode(Windows.UI.Input.Inking.InkInputProcessingMode)
133
+ @mode.setter
134
+ def mode(self, value: InkInputProcessingMode) -> None: ...
135
+
136
+ @typing.final
137
+ class InkManager(winrt.system.Object, IInkRecognizerContainer, IInkStrokeContainer):
138
+ def __new__(cls: typing.Type[Self]) -> Self: ...
139
+ # System.Void Windows.UI.Input.Inking.InkManager::AddStroke(Windows.UI.Input.Inking.InkStroke)
140
+ def add_stroke(self, stroke: InkStroke, /) -> None: ...
141
+ # System.Boolean Windows.UI.Input.Inking.InkManager::CanPasteFromClipboard()
142
+ def can_paste_from_clipboard(self) -> bool: ...
143
+ # System.Void Windows.UI.Input.Inking.InkManager::CopySelectedToClipboard()
144
+ def copy_selected_to_clipboard(self) -> None: ...
145
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::DeleteSelected()
146
+ def delete_selected(self) -> windows_foundation.Rect: ...
147
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult> Windows.UI.Input.Inking.InkManager::GetRecognitionResults()
148
+ def get_recognition_results(self) -> typing.Sequence[InkRecognitionResult]: ...
149
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognizer> Windows.UI.Input.Inking.InkManager::GetRecognizers()
150
+ def get_recognizers(self) -> typing.Sequence[InkRecognizer]: ...
151
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkManager::GetStrokes()
152
+ def get_strokes(self) -> typing.Sequence[InkStroke]: ...
153
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.UInt64> Windows.UI.Input.Inking.InkManager::LoadAsync(Windows.Storage.Streams.IInputStream)
154
+ def load_async(self, input_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
155
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::MoveSelected(Windows.Foundation.Point)
156
+ def move_selected(self, translation: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
157
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::PasteFromClipboard(Windows.Foundation.Point)
158
+ def paste_from_clipboard(self, position: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
159
+ # System.Void Windows.UI.Input.Inking.InkManager::ProcessPointerDown(Windows.UI.Input.PointerPoint)
160
+ def process_pointer_down(self, pointer_point: windows_ui_input.PointerPoint, /) -> None: ...
161
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::ProcessPointerUp(Windows.UI.Input.PointerPoint)
162
+ def process_pointer_up(self, pointer_point: windows_ui_input.PointerPoint, /) -> windows_foundation.Rect: ...
163
+ # System.Object Windows.UI.Input.Inking.InkManager::ProcessPointerUpdate(Windows.UI.Input.PointerPoint)
164
+ def process_pointer_update(self, pointer_point: windows_ui_input.PointerPoint, /) -> winrt.system.Object: ...
165
+ # 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)
166
+ def recognize_async(self, stroke_collection: InkStrokeContainer, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[typing.Sequence[InkRecognitionResult]]: ...
167
+ # 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)
168
+ def recognize_async2(self, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[typing.Sequence[InkRecognitionResult]]: ...
169
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkManager::SaveAsync(Windows.Storage.Streams.IOutputStream)
170
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
171
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::SelectWithLine(Windows.Foundation.Point,Windows.Foundation.Point)
172
+ def select_with_line(self, from_: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], to: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
173
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::SelectWithPolyLine(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
174
+ def select_with_poly_line(self, polyline: typing.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
175
+ # System.Void Windows.UI.Input.Inking.InkManager::SetDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
176
+ def set_default_drawing_attributes(self, drawing_attributes: InkDrawingAttributes, /) -> None: ...
177
+ # System.Void Windows.UI.Input.Inking.InkManager::SetDefaultRecognizer(Windows.UI.Input.Inking.InkRecognizer)
178
+ def set_default_recognizer(self, recognizer: InkRecognizer, /) -> None: ...
179
+ # System.Void Windows.UI.Input.Inking.InkManager::UpdateRecognitionResults(Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>)
180
+ def update_recognition_results(self, recognition_results: typing.Sequence[InkRecognitionResult], /) -> None: ...
181
+ # Windows.UI.Input.Inking.InkManipulationMode Windows.UI.Input.Inking.InkManager::get_Mode()
182
+ @_property
183
+ def mode(self) -> InkManipulationMode: ...
184
+ # System.Void Windows.UI.Input.Inking.InkManager::put_Mode(Windows.UI.Input.Inking.InkManipulationMode)
185
+ @mode.setter
186
+ def mode(self, value: InkManipulationMode) -> None: ...
187
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkManager::get_BoundingRect()
188
+ @_property
189
+ def bounding_rect(self) -> windows_foundation.Rect: ...
190
+
191
+ @typing.final
192
+ class InkModelerAttributes(winrt.system.Object):
193
+ # System.Single Windows.UI.Input.Inking.InkModelerAttributes::get_ScalingFactor()
194
+ @_property
195
+ def scaling_factor(self) -> winrt.system.Single: ...
196
+ # System.Void Windows.UI.Input.Inking.InkModelerAttributes::put_ScalingFactor(System.Single)
197
+ @scaling_factor.setter
198
+ def scaling_factor(self, value: winrt.system.Single) -> None: ...
199
+ # Windows.Foundation.TimeSpan Windows.UI.Input.Inking.InkModelerAttributes::get_PredictionTime()
200
+ @_property
201
+ def prediction_time(self) -> datetime.timedelta: ...
202
+ # System.Void Windows.UI.Input.Inking.InkModelerAttributes::put_PredictionTime(Windows.Foundation.TimeSpan)
203
+ @prediction_time.setter
204
+ def prediction_time(self, value: datetime.timedelta) -> None: ...
205
+ # System.Boolean Windows.UI.Input.Inking.InkModelerAttributes::get_UseVelocityBasedPressure()
206
+ @_property
207
+ def use_velocity_based_pressure(self) -> bool: ...
208
+ # System.Void Windows.UI.Input.Inking.InkModelerAttributes::put_UseVelocityBasedPressure(System.Boolean)
209
+ @use_velocity_based_pressure.setter
210
+ def use_velocity_based_pressure(self, value: bool) -> None: ...
211
+
212
+ @typing.final
213
+ class InkPoint(winrt.system.Object):
214
+ @typing.overload
215
+ def __new__(cls: typing.Type[Self], position: typing.Union[windows_foundation.Point, typing.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) -> Self: ...
216
+ @typing.overload
217
+ def __new__(cls: typing.Type[Self], position: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], pressure: winrt.system.Single) -> Self: ...
218
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkPoint::get_Position()
219
+ @_property
220
+ def position(self) -> windows_foundation.Point: ...
221
+ # System.Single Windows.UI.Input.Inking.InkPoint::get_Pressure()
222
+ @_property
223
+ def pressure(self) -> winrt.system.Single: ...
224
+ # System.Single Windows.UI.Input.Inking.InkPoint::get_TiltX()
225
+ @_property
226
+ def tilt_x(self) -> winrt.system.Single: ...
227
+ # System.Single Windows.UI.Input.Inking.InkPoint::get_TiltY()
228
+ @_property
229
+ def tilt_y(self) -> winrt.system.Single: ...
230
+ # System.UInt64 Windows.UI.Input.Inking.InkPoint::get_Timestamp()
231
+ @_property
232
+ def timestamp(self) -> winrt.system.UInt64: ...
233
+
234
+ @typing.final
235
+ class InkPresenter(winrt.system.Object):
236
+ # Windows.UI.Input.Inking.InkSynchronizer Windows.UI.Input.Inking.InkPresenter::ActivateCustomDrying()
237
+ def activate_custom_drying(self) -> InkSynchronizer: ...
238
+ # Windows.UI.Input.Inking.InkDrawingAttributes Windows.UI.Input.Inking.InkPresenter::CopyDefaultDrawingAttributes()
239
+ def copy_default_drawing_attributes(self) -> InkDrawingAttributes: ...
240
+ # System.Void Windows.UI.Input.Inking.InkPresenter::SetPredefinedConfiguration(Windows.UI.Input.Inking.InkPresenterPredefinedConfiguration)
241
+ def set_predefined_configuration(self, value: InkPresenterPredefinedConfiguration, /) -> None: ...
242
+ # System.Void Windows.UI.Input.Inking.InkPresenter::UpdateDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
243
+ def update_default_drawing_attributes(self, value: InkDrawingAttributes, /) -> None: ...
244
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkPresenter::add_StrokesCollected(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkPresenter,Windows.UI.Input.Inking.InkStrokesCollectedEventArgs>)
245
+ def add_strokes_collected(self, handler: windows_foundation.TypedEventHandler[InkPresenter, InkStrokesCollectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
246
+ # System.Void Windows.UI.Input.Inking.InkPresenter::remove_StrokesCollected(Windows.Foundation.EventRegistrationToken)
247
+ def remove_strokes_collected(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
248
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkPresenter::add_StrokesErased(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkPresenter,Windows.UI.Input.Inking.InkStrokesErasedEventArgs>)
249
+ def add_strokes_erased(self, handler: windows_foundation.TypedEventHandler[InkPresenter, InkStrokesErasedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
250
+ # System.Void Windows.UI.Input.Inking.InkPresenter::remove_StrokesErased(Windows.Foundation.EventRegistrationToken)
251
+ def remove_strokes_erased(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
252
+ # Windows.UI.Input.Inking.InkStrokeContainer Windows.UI.Input.Inking.InkPresenter::get_StrokeContainer()
253
+ @_property
254
+ def stroke_container(self) -> InkStrokeContainer: ...
255
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_StrokeContainer(Windows.UI.Input.Inking.InkStrokeContainer)
256
+ @stroke_container.setter
257
+ def stroke_container(self, value: InkStrokeContainer) -> None: ...
258
+ # System.Boolean Windows.UI.Input.Inking.InkPresenter::get_IsInputEnabled()
259
+ @_property
260
+ def is_input_enabled(self) -> bool: ...
261
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_IsInputEnabled(System.Boolean)
262
+ @is_input_enabled.setter
263
+ def is_input_enabled(self, value: bool) -> None: ...
264
+ # Windows.UI.Core.CoreInputDeviceTypes Windows.UI.Input.Inking.InkPresenter::get_InputDeviceTypes()
265
+ @_property
266
+ def input_device_types(self) -> windows_ui_core.CoreInputDeviceTypes: ...
267
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_InputDeviceTypes(Windows.UI.Core.CoreInputDeviceTypes)
268
+ @input_device_types.setter
269
+ def input_device_types(self, value: windows_ui_core.CoreInputDeviceTypes) -> None: ...
270
+ # Windows.UI.Input.Inking.InkInputProcessingConfiguration Windows.UI.Input.Inking.InkPresenter::get_InputProcessingConfiguration()
271
+ @_property
272
+ def input_processing_configuration(self) -> InkInputProcessingConfiguration: ...
273
+ # Windows.UI.Input.Inking.InkStrokeInput Windows.UI.Input.Inking.InkPresenter::get_StrokeInput()
274
+ @_property
275
+ def stroke_input(self) -> InkStrokeInput: ...
276
+ # Windows.UI.Input.Inking.InkUnprocessedInput Windows.UI.Input.Inking.InkPresenter::get_UnprocessedInput()
277
+ @_property
278
+ def unprocessed_input(self) -> InkUnprocessedInput: ...
279
+ # Windows.UI.Input.Inking.InkHighContrastAdjustment Windows.UI.Input.Inking.InkPresenter::get_HighContrastAdjustment()
280
+ @_property
281
+ def high_contrast_adjustment(self) -> InkHighContrastAdjustment: ...
282
+ # System.Void Windows.UI.Input.Inking.InkPresenter::put_HighContrastAdjustment(Windows.UI.Input.Inking.InkHighContrastAdjustment)
283
+ @high_contrast_adjustment.setter
284
+ def high_contrast_adjustment(self, value: InkHighContrastAdjustment) -> None: ...
285
+ # Windows.UI.Input.Inking.InkInputConfiguration Windows.UI.Input.Inking.InkPresenter::get_InputConfiguration()
286
+ @_property
287
+ def input_configuration(self) -> InkInputConfiguration: ...
288
+
289
+ @typing.final
290
+ class InkPresenterProtractor(winrt.system.Object, IInkPresenterStencil):
291
+ def __new__(cls: typing.Type[Self], ink_presenter: InkPresenter) -> Self: ...
292
+ # System.Double Windows.UI.Input.Inking.InkPresenterProtractor::get_Radius()
293
+ @_property
294
+ def radius(self) -> winrt.system.Double: ...
295
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_Radius(System.Double)
296
+ @radius.setter
297
+ def radius(self, value: winrt.system.Double) -> None: ...
298
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsResizable()
299
+ @_property
300
+ def is_resizable(self) -> bool: ...
301
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsResizable(System.Boolean)
302
+ @is_resizable.setter
303
+ def is_resizable(self, value: bool) -> None: ...
304
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsCenterMarkerVisible()
305
+ @_property
306
+ def is_center_marker_visible(self) -> bool: ...
307
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsCenterMarkerVisible(System.Boolean)
308
+ @is_center_marker_visible.setter
309
+ def is_center_marker_visible(self, value: bool) -> None: ...
310
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsAngleReadoutVisible()
311
+ @_property
312
+ def is_angle_readout_visible(self) -> bool: ...
313
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsAngleReadoutVisible(System.Boolean)
314
+ @is_angle_readout_visible.setter
315
+ def is_angle_readout_visible(self, value: bool) -> None: ...
316
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_AreTickMarksVisible()
317
+ @_property
318
+ def are_tick_marks_visible(self) -> bool: ...
319
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_AreTickMarksVisible(System.Boolean)
320
+ @are_tick_marks_visible.setter
321
+ def are_tick_marks_visible(self, value: bool) -> None: ...
322
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_AreRaysVisible()
323
+ @_property
324
+ def are_rays_visible(self) -> bool: ...
325
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_AreRaysVisible(System.Boolean)
326
+ @are_rays_visible.setter
327
+ def are_rays_visible(self, value: bool) -> None: ...
328
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterProtractor::get_AccentColor()
329
+ @_property
330
+ def accent_color(self) -> windows_ui.Color: ...
331
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_AccentColor(Windows.UI.Color)
332
+ @accent_color.setter
333
+ def accent_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
334
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkPresenterProtractor::get_Transform()
335
+ @_property
336
+ def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
337
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_Transform(Windows.Foundation.Numerics.Matrix3x2)
338
+ @transform.setter
339
+ def transform(self, value: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
340
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterProtractor::get_IsVisible()
341
+ @_property
342
+ def is_visible(self) -> bool: ...
343
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_IsVisible(System.Boolean)
344
+ @is_visible.setter
345
+ def is_visible(self, value: bool) -> None: ...
346
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterProtractor::get_ForegroundColor()
347
+ @_property
348
+ def foreground_color(self) -> windows_ui.Color: ...
349
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_ForegroundColor(Windows.UI.Color)
350
+ @foreground_color.setter
351
+ def foreground_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
352
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterProtractor::get_BackgroundColor()
353
+ @_property
354
+ def background_color(self) -> windows_ui.Color: ...
355
+ # System.Void Windows.UI.Input.Inking.InkPresenterProtractor::put_BackgroundColor(Windows.UI.Color)
356
+ @background_color.setter
357
+ def background_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
358
+ # Windows.UI.Input.Inking.InkPresenterStencilKind Windows.UI.Input.Inking.InkPresenterProtractor::get_Kind()
359
+ @_property
360
+ def kind(self) -> InkPresenterStencilKind: ...
361
+
362
+ @typing.final
363
+ class InkPresenterRuler(winrt.system.Object, IInkPresenterStencil):
364
+ def __new__(cls: typing.Type[Self], ink_presenter: InkPresenter) -> Self: ...
365
+ # System.Double Windows.UI.Input.Inking.InkPresenterRuler::get_Width()
366
+ @_property
367
+ def width(self) -> winrt.system.Double: ...
368
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_Width(System.Double)
369
+ @width.setter
370
+ def width(self, value: winrt.system.Double) -> None: ...
371
+ # System.Double Windows.UI.Input.Inking.InkPresenterRuler::get_Length()
372
+ @_property
373
+ def length(self) -> winrt.system.Double: ...
374
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_Length(System.Double)
375
+ @length.setter
376
+ def length(self, value: winrt.system.Double) -> None: ...
377
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterRuler::get_IsCompassVisible()
378
+ @_property
379
+ def is_compass_visible(self) -> bool: ...
380
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_IsCompassVisible(System.Boolean)
381
+ @is_compass_visible.setter
382
+ def is_compass_visible(self, value: bool) -> None: ...
383
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterRuler::get_AreTickMarksVisible()
384
+ @_property
385
+ def are_tick_marks_visible(self) -> bool: ...
386
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_AreTickMarksVisible(System.Boolean)
387
+ @are_tick_marks_visible.setter
388
+ def are_tick_marks_visible(self, value: bool) -> None: ...
389
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkPresenterRuler::get_Transform()
390
+ @_property
391
+ def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
392
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_Transform(Windows.Foundation.Numerics.Matrix3x2)
393
+ @transform.setter
394
+ def transform(self, value: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
395
+ # System.Boolean Windows.UI.Input.Inking.InkPresenterRuler::get_IsVisible()
396
+ @_property
397
+ def is_visible(self) -> bool: ...
398
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_IsVisible(System.Boolean)
399
+ @is_visible.setter
400
+ def is_visible(self, value: bool) -> None: ...
401
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterRuler::get_ForegroundColor()
402
+ @_property
403
+ def foreground_color(self) -> windows_ui.Color: ...
404
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_ForegroundColor(Windows.UI.Color)
405
+ @foreground_color.setter
406
+ def foreground_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
407
+ # Windows.UI.Color Windows.UI.Input.Inking.InkPresenterRuler::get_BackgroundColor()
408
+ @_property
409
+ def background_color(self) -> windows_ui.Color: ...
410
+ # System.Void Windows.UI.Input.Inking.InkPresenterRuler::put_BackgroundColor(Windows.UI.Color)
411
+ @background_color.setter
412
+ def background_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
413
+ # Windows.UI.Input.Inking.InkPresenterStencilKind Windows.UI.Input.Inking.InkPresenterRuler::get_Kind()
414
+ @_property
415
+ def kind(self) -> InkPresenterStencilKind: ...
416
+
417
+ @typing.final
418
+ class InkRecognitionResult(winrt.system.Object):
419
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkRecognitionResult::GetStrokes()
420
+ def get_strokes(self) -> typing.Sequence[InkStroke]: ...
421
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.UI.Input.Inking.InkRecognitionResult::GetTextCandidates()
422
+ def get_text_candidates(self) -> typing.Sequence[str]: ...
423
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkRecognitionResult::get_BoundingRect()
424
+ @_property
425
+ def bounding_rect(self) -> windows_foundation.Rect: ...
426
+
427
+ @typing.final
428
+ class InkRecognizer(winrt.system.Object):
429
+ # System.String Windows.UI.Input.Inking.InkRecognizer::get_Name()
430
+ @_property
431
+ def name(self) -> str: ...
432
+
433
+ @typing.final
434
+ class InkRecognizerContainer(winrt.system.Object, IInkRecognizerContainer):
435
+ def __new__(cls: typing.Type[Self]) -> Self: ...
436
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognizer> Windows.UI.Input.Inking.InkRecognizerContainer::GetRecognizers()
437
+ def get_recognizers(self) -> typing.Sequence[InkRecognizer]: ...
438
+ # 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)
439
+ def recognize_async(self, stroke_collection: InkStrokeContainer, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[typing.Sequence[InkRecognitionResult]]: ...
440
+ # System.Void Windows.UI.Input.Inking.InkRecognizerContainer::SetDefaultRecognizer(Windows.UI.Input.Inking.InkRecognizer)
441
+ def set_default_recognizer(self, recognizer: InkRecognizer, /) -> None: ...
442
+
443
+ @typing.final
444
+ class InkStroke(winrt.system.Object):
445
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStroke::Clone()
446
+ def clone(self) -> InkStroke: ...
447
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkPoint> Windows.UI.Input.Inking.InkStroke::GetInkPoints()
448
+ def get_ink_points(self) -> typing.Sequence[InkPoint]: ...
449
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStrokeRenderingSegment> Windows.UI.Input.Inking.InkStroke::GetRenderingSegments()
450
+ def get_rendering_segments(self) -> typing.Sequence[InkStrokeRenderingSegment]: ...
451
+ # System.Boolean Windows.UI.Input.Inking.InkStroke::get_Selected()
452
+ @_property
453
+ def selected(self) -> bool: ...
454
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_Selected(System.Boolean)
455
+ @selected.setter
456
+ def selected(self, value: bool) -> None: ...
457
+ # Windows.UI.Input.Inking.InkDrawingAttributes Windows.UI.Input.Inking.InkStroke::get_DrawingAttributes()
458
+ @_property
459
+ def drawing_attributes(self) -> InkDrawingAttributes: ...
460
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_DrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
461
+ @drawing_attributes.setter
462
+ def drawing_attributes(self, value: InkDrawingAttributes) -> None: ...
463
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStroke::get_BoundingRect()
464
+ @_property
465
+ def bounding_rect(self) -> windows_foundation.Rect: ...
466
+ # System.Boolean Windows.UI.Input.Inking.InkStroke::get_Recognized()
467
+ @_property
468
+ def recognized(self) -> bool: ...
469
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.InkStroke::get_PointTransform()
470
+ @_property
471
+ def point_transform(self) -> windows_foundation_numerics.Matrix3x2: ...
472
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_PointTransform(Windows.Foundation.Numerics.Matrix3x2)
473
+ @point_transform.setter
474
+ def point_transform(self, value: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
475
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.UI.Input.Inking.InkStroke::get_StrokeStartedTime()
476
+ @_property
477
+ def stroke_started_time(self) -> typing.Optional[datetime.datetime]: ...
478
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_StrokeStartedTime(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
479
+ @stroke_started_time.setter
480
+ def stroke_started_time(self, value: typing.Optional[datetime.datetime]) -> None: ...
481
+ # Windows.Foundation.IReference`1<Windows.Foundation.TimeSpan> Windows.UI.Input.Inking.InkStroke::get_StrokeDuration()
482
+ @_property
483
+ def stroke_duration(self) -> typing.Optional[datetime.timedelta]: ...
484
+ # System.Void Windows.UI.Input.Inking.InkStroke::put_StrokeDuration(Windows.Foundation.IReference`1<Windows.Foundation.TimeSpan>)
485
+ @stroke_duration.setter
486
+ def stroke_duration(self, value: typing.Optional[datetime.timedelta]) -> None: ...
487
+ # System.UInt32 Windows.UI.Input.Inking.InkStroke::get_Id()
488
+ @_property
489
+ def id(self) -> winrt.system.UInt32: ...
490
+ # System.UInt32 Windows.UI.Input.Inking.InkStroke::get_PointerId()
491
+ @_property
492
+ def pointer_id(self) -> winrt.system.UInt32: ...
493
+
494
+ @typing.final
495
+ class InkStrokeBuilder(winrt.system.Object):
496
+ def __new__(cls: typing.Type[Self]) -> Self: ...
497
+ # Windows.UI.Input.PointerPoint Windows.UI.Input.Inking.InkStrokeBuilder::AppendToStroke(Windows.UI.Input.PointerPoint)
498
+ def append_to_stroke(self, pointer_point: windows_ui_input.PointerPoint, /) -> windows_ui_input.PointerPoint: ...
499
+ # System.Void Windows.UI.Input.Inking.InkStrokeBuilder::BeginStroke(Windows.UI.Input.PointerPoint)
500
+ def begin_stroke(self, pointer_point: windows_ui_input.PointerPoint, /) -> None: ...
501
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeBuilder::CreateStroke(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
502
+ def create_stroke(self, points: typing.Iterable[windows_foundation.Point], /) -> InkStroke: ...
503
+ @typing.overload
504
+ # 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)
505
+ def create_stroke_from_ink_points(self, ink_points: typing.Iterable[InkPoint], transform: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], /) -> InkStroke: ...
506
+ @typing.overload
507
+ # 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>)
508
+ def create_stroke_from_ink_points(self, ink_points: typing.Iterable[InkPoint], transform: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], stroke_started_time: typing.Optional[datetime.datetime], stroke_duration: typing.Optional[datetime.timedelta], /) -> InkStroke: ...
509
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeBuilder::EndStroke(Windows.UI.Input.PointerPoint)
510
+ def end_stroke(self, pointer_point: windows_ui_input.PointerPoint, /) -> InkStroke: ...
511
+ # System.Void Windows.UI.Input.Inking.InkStrokeBuilder::SetDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes)
512
+ def set_default_drawing_attributes(self, drawing_attributes: InkDrawingAttributes, /) -> None: ...
513
+
514
+ @typing.final
515
+ class InkStrokeContainer(winrt.system.Object, IInkStrokeContainer):
516
+ def __new__(cls: typing.Type[Self]) -> Self: ...
517
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::AddStroke(Windows.UI.Input.Inking.InkStroke)
518
+ def add_stroke(self, stroke: InkStroke, /) -> None: ...
519
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::AddStrokes(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Inking.InkStroke>)
520
+ def add_strokes(self, strokes: typing.Iterable[InkStroke], /) -> None: ...
521
+ # System.Boolean Windows.UI.Input.Inking.InkStrokeContainer::CanPasteFromClipboard()
522
+ def can_paste_from_clipboard(self) -> bool: ...
523
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::Clear()
524
+ def clear(self) -> None: ...
525
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::CopySelectedToClipboard()
526
+ def copy_selected_to_clipboard(self) -> None: ...
527
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::DeleteSelected()
528
+ def delete_selected(self) -> windows_foundation.Rect: ...
529
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult> Windows.UI.Input.Inking.InkStrokeContainer::GetRecognitionResults()
530
+ def get_recognition_results(self) -> typing.Sequence[InkRecognitionResult]: ...
531
+ # Windows.UI.Input.Inking.InkStroke Windows.UI.Input.Inking.InkStrokeContainer::GetStrokeById(System.UInt32)
532
+ def get_stroke_by_id(self, id: winrt.system.UInt32, /) -> InkStroke: ...
533
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkStrokeContainer::GetStrokes()
534
+ def get_strokes(self) -> typing.Sequence[InkStroke]: ...
535
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.UInt64> Windows.UI.Input.Inking.InkStrokeContainer::LoadAsync(Windows.Storage.Streams.IInputStream)
536
+ def load_async(self, input_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
537
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::MoveSelected(Windows.Foundation.Point)
538
+ def move_selected(self, translation: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
539
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::PasteFromClipboard(Windows.Foundation.Point)
540
+ def paste_from_clipboard(self, position: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
541
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream)
542
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
543
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.InkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream,Windows.UI.Input.Inking.InkPersistenceFormat)
544
+ 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]: ...
545
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::SelectWithLine(Windows.Foundation.Point,Windows.Foundation.Point)
546
+ def select_with_line(self, from_: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], to: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
547
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::SelectWithPolyLine(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
548
+ def select_with_poly_line(self, polyline: typing.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
549
+ # System.Void Windows.UI.Input.Inking.InkStrokeContainer::UpdateRecognitionResults(Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>)
550
+ def update_recognition_results(self, recognition_results: typing.Sequence[InkRecognitionResult], /) -> None: ...
551
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.InkStrokeContainer::get_BoundingRect()
552
+ @_property
553
+ def bounding_rect(self) -> windows_foundation.Rect: ...
554
+
555
+ @typing.final
556
+ class InkStrokeInput(winrt.system.Object):
557
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
558
+ def add_stroke_canceled(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
559
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeCanceled(Windows.Foundation.EventRegistrationToken)
560
+ def remove_stroke_canceled(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
561
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeContinued(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
562
+ def add_stroke_continued(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
563
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeContinued(Windows.Foundation.EventRegistrationToken)
564
+ def remove_stroke_continued(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
565
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeEnded(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
566
+ def add_stroke_ended(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
567
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeEnded(Windows.Foundation.EventRegistrationToken)
568
+ def remove_stroke_ended(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
569
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkStrokeInput::add_StrokeStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkStrokeInput,Windows.UI.Core.PointerEventArgs>)
570
+ def add_stroke_started(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
571
+ # System.Void Windows.UI.Input.Inking.InkStrokeInput::remove_StrokeStarted(Windows.Foundation.EventRegistrationToken)
572
+ def remove_stroke_started(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
573
+ # Windows.UI.Input.Inking.InkPresenter Windows.UI.Input.Inking.InkStrokeInput::get_InkPresenter()
574
+ @_property
575
+ def ink_presenter(self) -> InkPresenter: ...
576
+
577
+ @typing.final
578
+ class InkStrokeRenderingSegment(winrt.system.Object):
579
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_BezierControlPoint1()
580
+ @_property
581
+ def bezier_control_point1(self) -> windows_foundation.Point: ...
582
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_BezierControlPoint2()
583
+ @_property
584
+ def bezier_control_point2(self) -> windows_foundation.Point: ...
585
+ # Windows.Foundation.Point Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_Position()
586
+ @_property
587
+ def position(self) -> windows_foundation.Point: ...
588
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_Pressure()
589
+ @_property
590
+ def pressure(self) -> winrt.system.Single: ...
591
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_TiltX()
592
+ @_property
593
+ def tilt_x(self) -> winrt.system.Single: ...
594
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_TiltY()
595
+ @_property
596
+ def tilt_y(self) -> winrt.system.Single: ...
597
+ # System.Single Windows.UI.Input.Inking.InkStrokeRenderingSegment::get_Twist()
598
+ @_property
599
+ def twist(self) -> winrt.system.Single: ...
600
+
601
+ @typing.final
602
+ class InkStrokesCollectedEventArgs(winrt.system.Object):
603
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkStrokesCollectedEventArgs::get_Strokes()
604
+ @_property
605
+ def strokes(self) -> typing.Sequence[InkStroke]: ...
606
+
607
+ @typing.final
608
+ class InkStrokesErasedEventArgs(winrt.system.Object):
609
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkStrokesErasedEventArgs::get_Strokes()
610
+ @_property
611
+ def strokes(self) -> typing.Sequence[InkStroke]: ...
612
+
613
+ @typing.final
614
+ class InkSynchronizer(winrt.system.Object):
615
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.InkSynchronizer::BeginDry()
616
+ def begin_dry(self) -> typing.Sequence[InkStroke]: ...
617
+ # System.Void Windows.UI.Input.Inking.InkSynchronizer::EndDry()
618
+ def end_dry(self) -> None: ...
619
+
620
+ @typing.final
621
+ class InkUnprocessedInput(winrt.system.Object):
622
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerEntered(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
623
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
624
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerEntered(Windows.Foundation.EventRegistrationToken)
625
+ def remove_pointer_entered(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
626
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerExited(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
627
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
628
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerExited(Windows.Foundation.EventRegistrationToken)
629
+ def remove_pointer_exited(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
630
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerHovered(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
631
+ def add_pointer_hovered(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
632
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerHovered(Windows.Foundation.EventRegistrationToken)
633
+ def remove_pointer_hovered(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
634
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerLost(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
635
+ def add_pointer_lost(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
636
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerLost(Windows.Foundation.EventRegistrationToken)
637
+ def remove_pointer_lost(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
638
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerMoved(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
639
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
640
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerMoved(Windows.Foundation.EventRegistrationToken)
641
+ def remove_pointer_moved(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
642
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerPressed(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
643
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
644
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerPressed(Windows.Foundation.EventRegistrationToken)
645
+ def remove_pointer_pressed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
646
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Inking.InkUnprocessedInput::add_PointerReleased(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Inking.InkUnprocessedInput,Windows.UI.Core.PointerEventArgs>)
647
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
648
+ # System.Void Windows.UI.Input.Inking.InkUnprocessedInput::remove_PointerReleased(Windows.Foundation.EventRegistrationToken)
649
+ def remove_pointer_released(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
650
+ # Windows.UI.Input.Inking.InkPresenter Windows.UI.Input.Inking.InkUnprocessedInput::get_InkPresenter()
651
+ @_property
652
+ def ink_presenter(self) -> InkPresenter: ...
653
+
654
+ @typing.final
655
+ class PenAndInkSettings_Static(winrt._winrt.IInspectable_Static):
656
+ # Windows.UI.Input.Inking.PenAndInkSettings Windows.UI.Input.Inking.PenAndInkSettings::GetDefault()
657
+ def get_default(cls) -> PenAndInkSettings: ...
658
+
659
+ @typing.final
660
+ class PenAndInkSettings(winrt.system.Object, metaclass=PenAndInkSettings_Static):
661
+ # System.Void Windows.UI.Input.Inking.PenAndInkSettings::SetPenHandedness(Windows.UI.Input.Inking.PenHandedness)
662
+ def set_pen_handedness(self, value: PenHandedness, /) -> None: ...
663
+ # System.String Windows.UI.Input.Inking.PenAndInkSettings::get_FontFamilyName()
664
+ @_property
665
+ def font_family_name(self) -> str: ...
666
+ # Windows.UI.Input.Inking.HandwritingLineHeight Windows.UI.Input.Inking.PenAndInkSettings::get_HandwritingLineHeight()
667
+ @_property
668
+ def handwriting_line_height(self) -> HandwritingLineHeight: ...
669
+ # System.Boolean Windows.UI.Input.Inking.PenAndInkSettings::get_IsHandwritingDirectlyIntoTextFieldEnabled()
670
+ @_property
671
+ def is_handwriting_directly_into_text_field_enabled(self) -> bool: ...
672
+ # System.Boolean Windows.UI.Input.Inking.PenAndInkSettings::get_IsTouchHandwritingEnabled()
673
+ @_property
674
+ def is_touch_handwriting_enabled(self) -> bool: ...
675
+ # Windows.UI.Input.Inking.PenHandedness Windows.UI.Input.Inking.PenAndInkSettings::get_PenHandedness()
676
+ @_property
677
+ def pen_handedness(self) -> PenHandedness: ...
678
+ # System.Boolean Windows.UI.Input.Inking.PenAndInkSettings::get_UserConsentsToHandwritingTelemetryCollection()
679
+ @_property
680
+ def user_consents_to_handwriting_telemetry_collection(self) -> bool: ...
681
+
682
+ @typing.final
683
+ class _IInkPointFactory: ...
684
+
685
+ class IInkPointFactory(winrt._winrt.IInspectable):
686
+ # Windows.UI.Input.Inking.InkPoint Windows.UI.Input.Inking.IInkPointFactory::CreateInkPoint(Windows.Foundation.Point,System.Single)
687
+ @abstractmethod
688
+ def create_ink_point(self, position: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], pressure: winrt.system.Single, /) -> InkPoint: ...
689
+
690
+ @typing.final
691
+ class _IInkPresenterRulerFactory: ...
692
+
693
+ class IInkPresenterRulerFactory(winrt._winrt.IInspectable):
694
+ # Windows.UI.Input.Inking.InkPresenterRuler Windows.UI.Input.Inking.IInkPresenterRulerFactory::Create(Windows.UI.Input.Inking.InkPresenter)
695
+ @abstractmethod
696
+ def create(self, ink_presenter: InkPresenter, /) -> InkPresenterRuler: ...
697
+
698
+ @typing.final
699
+ class _IInkPresenterStencil: ...
700
+
701
+ class IInkPresenterStencil(winrt._winrt.IInspectable):
702
+ # Windows.UI.Color Windows.UI.Input.Inking.IInkPresenterStencil::get_BackgroundColor()
703
+ @_property
704
+ @abstractmethod
705
+ def background_color(self) -> windows_ui.Color: ...
706
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_BackgroundColor(Windows.UI.Color)
707
+ @background_color.setter
708
+ @abstractmethod
709
+ def background_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
710
+ # Windows.UI.Color Windows.UI.Input.Inking.IInkPresenterStencil::get_ForegroundColor()
711
+ @_property
712
+ @abstractmethod
713
+ def foreground_color(self) -> windows_ui.Color: ...
714
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_ForegroundColor(Windows.UI.Color)
715
+ @foreground_color.setter
716
+ @abstractmethod
717
+ def foreground_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
718
+ # System.Boolean Windows.UI.Input.Inking.IInkPresenterStencil::get_IsVisible()
719
+ @_property
720
+ @abstractmethod
721
+ def is_visible(self) -> bool: ...
722
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_IsVisible(System.Boolean)
723
+ @is_visible.setter
724
+ @abstractmethod
725
+ def is_visible(self, value: bool) -> None: ...
726
+ # Windows.UI.Input.Inking.InkPresenterStencilKind Windows.UI.Input.Inking.IInkPresenterStencil::get_Kind()
727
+ @_property
728
+ @abstractmethod
729
+ def kind(self) -> InkPresenterStencilKind: ...
730
+ # Windows.Foundation.Numerics.Matrix3x2 Windows.UI.Input.Inking.IInkPresenterStencil::get_Transform()
731
+ @_property
732
+ @abstractmethod
733
+ def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
734
+ # System.Void Windows.UI.Input.Inking.IInkPresenterStencil::put_Transform(Windows.Foundation.Numerics.Matrix3x2)
735
+ @transform.setter
736
+ @abstractmethod
737
+ def transform(self, value: typing.Union[windows_foundation_numerics.Matrix3x2, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
738
+
739
+ @typing.final
740
+ class _IInkRecognizerContainer: ...
741
+
742
+ class IInkRecognizerContainer(winrt._winrt.IInspectable):
743
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognizer> Windows.UI.Input.Inking.IInkRecognizerContainer::GetRecognizers()
744
+ @abstractmethod
745
+ def get_recognizers(self) -> typing.Sequence[InkRecognizer]: ...
746
+ # 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)
747
+ @abstractmethod
748
+ def recognize_async(self, stroke_collection: InkStrokeContainer, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[typing.Sequence[InkRecognitionResult]]: ...
749
+ # System.Void Windows.UI.Input.Inking.IInkRecognizerContainer::SetDefaultRecognizer(Windows.UI.Input.Inking.InkRecognizer)
750
+ @abstractmethod
751
+ def set_default_recognizer(self, recognizer: InkRecognizer, /) -> None: ...
752
+
753
+ @typing.final
754
+ class _IInkStrokeContainer: ...
755
+
756
+ class IInkStrokeContainer(winrt._winrt.IInspectable):
757
+ # System.Void Windows.UI.Input.Inking.IInkStrokeContainer::AddStroke(Windows.UI.Input.Inking.InkStroke)
758
+ @abstractmethod
759
+ def add_stroke(self, stroke: InkStroke, /) -> None: ...
760
+ # System.Boolean Windows.UI.Input.Inking.IInkStrokeContainer::CanPasteFromClipboard()
761
+ @abstractmethod
762
+ def can_paste_from_clipboard(self) -> bool: ...
763
+ # System.Void Windows.UI.Input.Inking.IInkStrokeContainer::CopySelectedToClipboard()
764
+ @abstractmethod
765
+ def copy_selected_to_clipboard(self) -> None: ...
766
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::DeleteSelected()
767
+ @abstractmethod
768
+ def delete_selected(self) -> windows_foundation.Rect: ...
769
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult> Windows.UI.Input.Inking.IInkStrokeContainer::GetRecognitionResults()
770
+ @abstractmethod
771
+ def get_recognition_results(self) -> typing.Sequence[InkRecognitionResult]: ...
772
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkStroke> Windows.UI.Input.Inking.IInkStrokeContainer::GetStrokes()
773
+ @abstractmethod
774
+ def get_strokes(self) -> typing.Sequence[InkStroke]: ...
775
+ # Windows.Foundation.IAsyncActionWithProgress`1<System.UInt64> Windows.UI.Input.Inking.IInkStrokeContainer::LoadAsync(Windows.Storage.Streams.IInputStream)
776
+ @abstractmethod
777
+ def load_async(self, input_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
778
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::MoveSelected(Windows.Foundation.Point)
779
+ @abstractmethod
780
+ def move_selected(self, translation: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
781
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::PasteFromClipboard(Windows.Foundation.Point)
782
+ @abstractmethod
783
+ def paste_from_clipboard(self, position: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
784
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.UI.Input.Inking.IInkStrokeContainer::SaveAsync(Windows.Storage.Streams.IOutputStream)
785
+ @abstractmethod
786
+ def save_async(self, output_stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
787
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::SelectWithLine(Windows.Foundation.Point,Windows.Foundation.Point)
788
+ @abstractmethod
789
+ def select_with_line(self, from_: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], to: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.Rect: ...
790
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::SelectWithPolyLine(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Point>)
791
+ @abstractmethod
792
+ def select_with_poly_line(self, polyline: typing.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
793
+ # System.Void Windows.UI.Input.Inking.IInkStrokeContainer::UpdateRecognitionResults(Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.InkRecognitionResult>)
794
+ @abstractmethod
795
+ def update_recognition_results(self, recognition_results: typing.Sequence[InkRecognitionResult], /) -> None: ...
796
+ # Windows.Foundation.Rect Windows.UI.Input.Inking.IInkStrokeContainer::get_BoundingRect()
797
+ @_property
798
+ @abstractmethod
799
+ def bounding_rect(self) -> windows_foundation.Rect: ...
800
+
@@ -0,0 +1,138 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_ui_input_inking import (
7
+ InkDrawingAttributes,
8
+ InkDrawingAttributesPencilProperties,
9
+ InkInputConfiguration,
10
+ InkInputProcessingConfiguration,
11
+ InkManager,
12
+ InkModelerAttributes,
13
+ InkPoint,
14
+ InkPresenter,
15
+ InkPresenterProtractor,
16
+ InkPresenterRuler,
17
+ InkRecognitionResult,
18
+ InkRecognizer,
19
+ InkRecognizerContainer,
20
+ InkStroke,
21
+ InkStrokeBuilder,
22
+ InkStrokeContainer,
23
+ InkStrokeInput,
24
+ InkStrokeRenderingSegment,
25
+ InkStrokesCollectedEventArgs,
26
+ InkStrokesErasedEventArgs,
27
+ InkSynchronizer,
28
+ InkUnprocessedInput,
29
+ PenAndInkSettings,
30
+ _IInkPointFactory,
31
+ IInkPointFactory,
32
+ _IInkPresenterRulerFactory,
33
+ IInkPresenterRulerFactory,
34
+ _IInkPresenterStencil,
35
+ IInkPresenterStencil,
36
+ _IInkRecognizerContainer,
37
+ IInkRecognizerContainer,
38
+ _IInkStrokeContainer,
39
+ IInkStrokeContainer,
40
+ )
41
+
42
+ __all__ = [
43
+ "HandwritingLineHeight",
44
+ "InkDrawingAttributesKind",
45
+ "InkHighContrastAdjustment",
46
+ "InkInputProcessingMode",
47
+ "InkInputRightDragAction",
48
+ "InkManipulationMode",
49
+ "InkPersistenceFormat",
50
+ "InkPresenterPredefinedConfiguration",
51
+ "InkPresenterStencilKind",
52
+ "InkRecognitionTarget",
53
+ "PenHandedness",
54
+ "PenTipShape",
55
+ "InkDrawingAttributes",
56
+ "InkDrawingAttributesPencilProperties",
57
+ "InkInputConfiguration",
58
+ "InkInputProcessingConfiguration",
59
+ "InkManager",
60
+ "InkModelerAttributes",
61
+ "InkPoint",
62
+ "InkPresenter",
63
+ "InkPresenterProtractor",
64
+ "InkPresenterRuler",
65
+ "InkRecognitionResult",
66
+ "InkRecognizer",
67
+ "InkRecognizerContainer",
68
+ "InkStroke",
69
+ "InkStrokeBuilder",
70
+ "InkStrokeContainer",
71
+ "InkStrokeInput",
72
+ "InkStrokeRenderingSegment",
73
+ "InkStrokesCollectedEventArgs",
74
+ "InkStrokesErasedEventArgs",
75
+ "InkSynchronizer",
76
+ "InkUnprocessedInput",
77
+ "PenAndInkSettings",
78
+ "IInkPointFactory",
79
+ "IInkPresenterRulerFactory",
80
+ "IInkPresenterStencil",
81
+ "IInkRecognizerContainer",
82
+ "IInkStrokeContainer",
83
+ ]
84
+
85
+ class HandwritingLineHeight(enum.IntEnum):
86
+ SMALL = 0
87
+ MEDIUM = 1
88
+ LARGE = 2
89
+
90
+ class InkDrawingAttributesKind(enum.IntEnum):
91
+ DEFAULT = 0
92
+ PENCIL = 1
93
+
94
+ class InkHighContrastAdjustment(enum.IntEnum):
95
+ USE_SYSTEM_COLORS_WHEN_NECESSARY = 0
96
+ USE_SYSTEM_COLORS = 1
97
+ USE_ORIGINAL_COLORS = 2
98
+
99
+ class InkInputProcessingMode(enum.IntEnum):
100
+ NONE = 0
101
+ INKING = 1
102
+ ERASING = 2
103
+
104
+ class InkInputRightDragAction(enum.IntEnum):
105
+ LEAVE_UNPROCESSED = 0
106
+ ALLOW_PROCESSING = 1
107
+
108
+ class InkManipulationMode(enum.IntEnum):
109
+ INKING = 0
110
+ ERASING = 1
111
+ SELECTING = 2
112
+
113
+ class InkPersistenceFormat(enum.IntEnum):
114
+ GIF_WITH_EMBEDDED_ISF = 0
115
+ ISF = 1
116
+
117
+ class InkPresenterPredefinedConfiguration(enum.IntEnum):
118
+ SIMPLE_SINGLE_POINTER = 0
119
+ SIMPLE_MULTIPLE_POINTER = 1
120
+
121
+ class InkPresenterStencilKind(enum.IntEnum):
122
+ OTHER = 0
123
+ RULER = 1
124
+ PROTRACTOR = 2
125
+
126
+ class InkRecognitionTarget(enum.IntEnum):
127
+ ALL = 0
128
+ SELECTED = 1
129
+ RECENT = 2
130
+
131
+ class PenHandedness(enum.IntEnum):
132
+ RIGHT = 0
133
+ LEFT = 1
134
+
135
+ class PenTipShape(enum.IntEnum):
136
+ CIRCLE = 0
137
+ RECTANGLE = 1
138
+
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.UI.Input.Inking
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Numerics[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI.Core[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.UI.Input[all]~=3.2.1.0; extra == "all"
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.UI.Input.Inking
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Input.Inking` namespace.
30
+
31
+ This package provides the `winrt.windows.ui.input.inking` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_input_inking.cp314-win32.pyd,sha256=rtpBw-2Mfju_PVI9WK3TMlplC3tqaOEmAIlcIlwk5Ks,539648
2
+ winrt/_winrt_windows_ui_input_inking.pyi,sha256=r9Cn6LBpx6ScX4J70hboHgmADwtBps_Tv9CRqIt5MJs,61233
3
+ winrt/windows/ui/input/inking/__init__.py,sha256=_qgNgrlQhutuiYhsFopa-LXX97I8zUHn2EZZZ9T9VuU,3247
4
+ winrt/windows/ui/input/inking/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_ui_input_inking-3.2.1.dist-info/METADATA,sha256=lbXOlke1KbsFkfckkdGd4xa0ltyZhNezwSfdXyhkuLw,1488
6
+ winrt_windows_ui_input_inking-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_ui_input_inking-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_ui_input_inking-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win32
5
+