winrt-Windows.UI.Input.Inking 2.2.0__cp313-cp313-win_arm64.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.
- winrt/_winrt_windows_ui_input_inking.cp313-win_arm64.pyd +0 -0
- winrt/_winrt_windows_ui_input_inking.pyi +574 -0
- winrt/windows/ui/input/inking/__init__.py +132 -0
- winrt/windows/ui/input/inking/py.typed +0 -0
- winrt_Windows.UI.Input.Inking-2.2.0.dist-info/METADATA +31 -0
- winrt_Windows.UI.Input.Inking-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.UI.Input.Inking-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.UI.Input.Inking-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
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
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
import winrt.windows.ui as windows_ui
|
|
17
|
+
import winrt.windows.ui.core as windows_ui_core
|
|
18
|
+
import winrt.windows.ui.input as windows_ui_input
|
|
19
|
+
|
|
20
|
+
from winrt.windows.ui.input.inking import HandwritingLineHeight, InkDrawingAttributesKind, InkHighContrastAdjustment, InkInputProcessingMode, InkInputRightDragAction, InkManipulationMode, InkPersistenceFormat, InkPresenterPredefinedConfiguration, InkPresenterStencilKind, InkRecognitionTarget, PenHandedness, PenTipShape
|
|
21
|
+
|
|
22
|
+
Self = typing.TypeVar('Self')
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class InkDrawingAttributes_Static(type):
|
|
26
|
+
def create_for_pencil(cls) -> typing.Optional[InkDrawingAttributes]: ...
|
|
27
|
+
|
|
28
|
+
@typing.final
|
|
29
|
+
class InkDrawingAttributes(winrt.system.Object, metaclass=InkDrawingAttributes_Static):
|
|
30
|
+
@staticmethod
|
|
31
|
+
def _from(obj: winrt.system.Object, /) -> InkDrawingAttributes: ...
|
|
32
|
+
def __new__(cls: typing.Type[InkDrawingAttributes]) -> InkDrawingAttributes: ...
|
|
33
|
+
@_property
|
|
34
|
+
def size(self) -> windows_foundation.Size: ...
|
|
35
|
+
@size.setter
|
|
36
|
+
def size(self, value: windows_foundation.Size) -> None: ...
|
|
37
|
+
@_property
|
|
38
|
+
def pen_tip(self) -> PenTipShape: ...
|
|
39
|
+
@pen_tip.setter
|
|
40
|
+
def pen_tip(self, value: PenTipShape) -> None: ...
|
|
41
|
+
@_property
|
|
42
|
+
def ignore_pressure(self) -> bool: ...
|
|
43
|
+
@ignore_pressure.setter
|
|
44
|
+
def ignore_pressure(self, value: bool) -> None: ...
|
|
45
|
+
@_property
|
|
46
|
+
def fit_to_curve(self) -> bool: ...
|
|
47
|
+
@fit_to_curve.setter
|
|
48
|
+
def fit_to_curve(self, value: bool) -> None: ...
|
|
49
|
+
@_property
|
|
50
|
+
def color(self) -> windows_ui.Color: ...
|
|
51
|
+
@color.setter
|
|
52
|
+
def color(self, value: windows_ui.Color) -> None: ...
|
|
53
|
+
@_property
|
|
54
|
+
def pen_tip_transform(self) -> windows_foundation_numerics.Matrix3x2: ...
|
|
55
|
+
@pen_tip_transform.setter
|
|
56
|
+
def pen_tip_transform(self, value: windows_foundation_numerics.Matrix3x2) -> None: ...
|
|
57
|
+
@_property
|
|
58
|
+
def draw_as_highlighter(self) -> bool: ...
|
|
59
|
+
@draw_as_highlighter.setter
|
|
60
|
+
def draw_as_highlighter(self, value: bool) -> None: ...
|
|
61
|
+
@_property
|
|
62
|
+
def kind(self) -> InkDrawingAttributesKind: ...
|
|
63
|
+
@_property
|
|
64
|
+
def pencil_properties(self) -> typing.Optional[InkDrawingAttributesPencilProperties]: ...
|
|
65
|
+
@_property
|
|
66
|
+
def ignore_tilt(self) -> bool: ...
|
|
67
|
+
@ignore_tilt.setter
|
|
68
|
+
def ignore_tilt(self, value: bool) -> None: ...
|
|
69
|
+
@_property
|
|
70
|
+
def modeler_attributes(self) -> typing.Optional[InkModelerAttributes]: ...
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class InkDrawingAttributesPencilProperties(winrt.system.Object):
|
|
74
|
+
@staticmethod
|
|
75
|
+
def _from(obj: winrt.system.Object, /) -> InkDrawingAttributesPencilProperties: ...
|
|
76
|
+
@_property
|
|
77
|
+
def opacity(self) -> winrt.system.Double: ...
|
|
78
|
+
@opacity.setter
|
|
79
|
+
def opacity(self, value: winrt.system.Double) -> None: ...
|
|
80
|
+
|
|
81
|
+
@typing.final
|
|
82
|
+
class InkInputConfiguration(winrt.system.Object):
|
|
83
|
+
@staticmethod
|
|
84
|
+
def _from(obj: winrt.system.Object, /) -> InkInputConfiguration: ...
|
|
85
|
+
@_property
|
|
86
|
+
def is_primary_barrel_button_input_enabled(self) -> bool: ...
|
|
87
|
+
@is_primary_barrel_button_input_enabled.setter
|
|
88
|
+
def is_primary_barrel_button_input_enabled(self, value: bool) -> None: ...
|
|
89
|
+
@_property
|
|
90
|
+
def is_eraser_input_enabled(self) -> bool: ...
|
|
91
|
+
@is_eraser_input_enabled.setter
|
|
92
|
+
def is_eraser_input_enabled(self, value: bool) -> None: ...
|
|
93
|
+
@_property
|
|
94
|
+
def is_pen_haptic_feedback_enabled(self) -> bool: ...
|
|
95
|
+
@is_pen_haptic_feedback_enabled.setter
|
|
96
|
+
def is_pen_haptic_feedback_enabled(self, value: bool) -> None: ...
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class InkInputProcessingConfiguration(winrt.system.Object):
|
|
100
|
+
@staticmethod
|
|
101
|
+
def _from(obj: winrt.system.Object, /) -> InkInputProcessingConfiguration: ...
|
|
102
|
+
@_property
|
|
103
|
+
def right_drag_action(self) -> InkInputRightDragAction: ...
|
|
104
|
+
@right_drag_action.setter
|
|
105
|
+
def right_drag_action(self, value: InkInputRightDragAction) -> None: ...
|
|
106
|
+
@_property
|
|
107
|
+
def mode(self) -> InkInputProcessingMode: ...
|
|
108
|
+
@mode.setter
|
|
109
|
+
def mode(self, value: InkInputProcessingMode) -> None: ...
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class InkManager(winrt.system.Object):
|
|
113
|
+
@staticmethod
|
|
114
|
+
def _from(obj: winrt.system.Object, /) -> InkManager: ...
|
|
115
|
+
def __new__(cls: typing.Type[InkManager]) -> InkManager: ...
|
|
116
|
+
def add_stroke(self, stroke: typing.Optional[InkStroke], /) -> None: ...
|
|
117
|
+
def can_paste_from_clipboard(self) -> bool: ...
|
|
118
|
+
def copy_selected_to_clipboard(self) -> None: ...
|
|
119
|
+
def delete_selected(self) -> windows_foundation.Rect: ...
|
|
120
|
+
def get_recognition_results(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
121
|
+
def get_recognizers(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkRecognizer]]: ...
|
|
122
|
+
def get_strokes(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
123
|
+
def load_async(self, input_stream: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
|
|
124
|
+
def move_selected(self, translation: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
125
|
+
def paste_from_clipboard(self, position: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
126
|
+
def process_pointer_down(self, pointer_point: typing.Optional[windows_ui_input.PointerPoint], /) -> None: ...
|
|
127
|
+
def process_pointer_up(self, pointer_point: typing.Optional[windows_ui_input.PointerPoint], /) -> windows_foundation.Rect: ...
|
|
128
|
+
def process_pointer_update(self, pointer_point: typing.Optional[windows_ui_input.PointerPoint], /) -> typing.Optional[winrt.system.Object]: ...
|
|
129
|
+
@typing.overload
|
|
130
|
+
def recognize_async(self, recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
131
|
+
@typing.overload
|
|
132
|
+
def recognize_async(self, stroke_collection: typing.Optional[InkStrokeContainer], recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
133
|
+
def save_async(self, output_stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
134
|
+
def select_with_line(self, from_: windows_foundation.Point, to: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
135
|
+
def select_with_poly_line(self, polyline: typing.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
|
|
136
|
+
def set_default_drawing_attributes(self, drawing_attributes: typing.Optional[InkDrawingAttributes], /) -> None: ...
|
|
137
|
+
def set_default_recognizer(self, recognizer: typing.Optional[InkRecognizer], /) -> None: ...
|
|
138
|
+
def update_recognition_results(self, recognition_results: windows_foundation_collections.IVectorView[InkRecognitionResult], /) -> None: ...
|
|
139
|
+
@_property
|
|
140
|
+
def mode(self) -> InkManipulationMode: ...
|
|
141
|
+
@mode.setter
|
|
142
|
+
def mode(self, value: InkManipulationMode) -> None: ...
|
|
143
|
+
@_property
|
|
144
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class InkModelerAttributes(winrt.system.Object):
|
|
148
|
+
@staticmethod
|
|
149
|
+
def _from(obj: winrt.system.Object, /) -> InkModelerAttributes: ...
|
|
150
|
+
@_property
|
|
151
|
+
def scaling_factor(self) -> winrt.system.Single: ...
|
|
152
|
+
@scaling_factor.setter
|
|
153
|
+
def scaling_factor(self, value: winrt.system.Single) -> None: ...
|
|
154
|
+
@_property
|
|
155
|
+
def prediction_time(self) -> datetime.timedelta: ...
|
|
156
|
+
@prediction_time.setter
|
|
157
|
+
def prediction_time(self, value: datetime.timedelta) -> None: ...
|
|
158
|
+
@_property
|
|
159
|
+
def use_velocity_based_pressure(self) -> bool: ...
|
|
160
|
+
@use_velocity_based_pressure.setter
|
|
161
|
+
def use_velocity_based_pressure(self, value: bool) -> None: ...
|
|
162
|
+
|
|
163
|
+
@typing.final
|
|
164
|
+
class InkPoint(winrt.system.Object):
|
|
165
|
+
@staticmethod
|
|
166
|
+
def _from(obj: winrt.system.Object, /) -> InkPoint: ...
|
|
167
|
+
@typing.overload
|
|
168
|
+
def __new__(cls: typing.Type[InkPoint], position: windows_foundation.Point, pressure: winrt.system.Single, tilt_x: winrt.system.Single, tilt_y: winrt.system.Single, timestamp: winrt.system.UInt64) -> InkPoint: ...
|
|
169
|
+
@typing.overload
|
|
170
|
+
def __new__(cls: typing.Type[InkPoint], position: windows_foundation.Point, pressure: winrt.system.Single) -> InkPoint: ...
|
|
171
|
+
@_property
|
|
172
|
+
def position(self) -> windows_foundation.Point: ...
|
|
173
|
+
@_property
|
|
174
|
+
def pressure(self) -> winrt.system.Single: ...
|
|
175
|
+
@_property
|
|
176
|
+
def tilt_x(self) -> winrt.system.Single: ...
|
|
177
|
+
@_property
|
|
178
|
+
def tilt_y(self) -> winrt.system.Single: ...
|
|
179
|
+
@_property
|
|
180
|
+
def timestamp(self) -> winrt.system.UInt64: ...
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class InkPresenter(winrt.system.Object):
|
|
184
|
+
@staticmethod
|
|
185
|
+
def _from(obj: winrt.system.Object, /) -> InkPresenter: ...
|
|
186
|
+
def activate_custom_drying(self) -> typing.Optional[InkSynchronizer]: ...
|
|
187
|
+
def copy_default_drawing_attributes(self) -> typing.Optional[InkDrawingAttributes]: ...
|
|
188
|
+
def set_predefined_configuration(self, value: InkPresenterPredefinedConfiguration, /) -> None: ...
|
|
189
|
+
def update_default_drawing_attributes(self, value: typing.Optional[InkDrawingAttributes], /) -> None: ...
|
|
190
|
+
def add_strokes_collected(self, handler: windows_foundation.TypedEventHandler[InkPresenter, InkStrokesCollectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
191
|
+
def remove_strokes_collected(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
192
|
+
def add_strokes_erased(self, handler: windows_foundation.TypedEventHandler[InkPresenter, InkStrokesErasedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
193
|
+
def remove_strokes_erased(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
194
|
+
@_property
|
|
195
|
+
def stroke_container(self) -> typing.Optional[InkStrokeContainer]: ...
|
|
196
|
+
@stroke_container.setter
|
|
197
|
+
def stroke_container(self, value: typing.Optional[InkStrokeContainer]) -> None: ...
|
|
198
|
+
@_property
|
|
199
|
+
def is_input_enabled(self) -> bool: ...
|
|
200
|
+
@is_input_enabled.setter
|
|
201
|
+
def is_input_enabled(self, value: bool) -> None: ...
|
|
202
|
+
@_property
|
|
203
|
+
def input_device_types(self) -> windows_ui_core.CoreInputDeviceTypes: ...
|
|
204
|
+
@input_device_types.setter
|
|
205
|
+
def input_device_types(self, value: windows_ui_core.CoreInputDeviceTypes) -> None: ...
|
|
206
|
+
@_property
|
|
207
|
+
def input_processing_configuration(self) -> typing.Optional[InkInputProcessingConfiguration]: ...
|
|
208
|
+
@_property
|
|
209
|
+
def stroke_input(self) -> typing.Optional[InkStrokeInput]: ...
|
|
210
|
+
@_property
|
|
211
|
+
def unprocessed_input(self) -> typing.Optional[InkUnprocessedInput]: ...
|
|
212
|
+
@_property
|
|
213
|
+
def high_contrast_adjustment(self) -> InkHighContrastAdjustment: ...
|
|
214
|
+
@high_contrast_adjustment.setter
|
|
215
|
+
def high_contrast_adjustment(self, value: InkHighContrastAdjustment) -> None: ...
|
|
216
|
+
@_property
|
|
217
|
+
def input_configuration(self) -> typing.Optional[InkInputConfiguration]: ...
|
|
218
|
+
|
|
219
|
+
@typing.final
|
|
220
|
+
class InkPresenterProtractor(winrt.system.Object):
|
|
221
|
+
@staticmethod
|
|
222
|
+
def _from(obj: winrt.system.Object, /) -> InkPresenterProtractor: ...
|
|
223
|
+
def __new__(cls: typing.Type[InkPresenterProtractor], ink_presenter: typing.Optional[InkPresenter]) -> InkPresenterProtractor: ...
|
|
224
|
+
@_property
|
|
225
|
+
def radius(self) -> winrt.system.Double: ...
|
|
226
|
+
@radius.setter
|
|
227
|
+
def radius(self, value: winrt.system.Double) -> None: ...
|
|
228
|
+
@_property
|
|
229
|
+
def is_resizable(self) -> bool: ...
|
|
230
|
+
@is_resizable.setter
|
|
231
|
+
def is_resizable(self, value: bool) -> None: ...
|
|
232
|
+
@_property
|
|
233
|
+
def is_center_marker_visible(self) -> bool: ...
|
|
234
|
+
@is_center_marker_visible.setter
|
|
235
|
+
def is_center_marker_visible(self, value: bool) -> None: ...
|
|
236
|
+
@_property
|
|
237
|
+
def is_angle_readout_visible(self) -> bool: ...
|
|
238
|
+
@is_angle_readout_visible.setter
|
|
239
|
+
def is_angle_readout_visible(self, value: bool) -> None: ...
|
|
240
|
+
@_property
|
|
241
|
+
def are_tick_marks_visible(self) -> bool: ...
|
|
242
|
+
@are_tick_marks_visible.setter
|
|
243
|
+
def are_tick_marks_visible(self, value: bool) -> None: ...
|
|
244
|
+
@_property
|
|
245
|
+
def are_rays_visible(self) -> bool: ...
|
|
246
|
+
@are_rays_visible.setter
|
|
247
|
+
def are_rays_visible(self, value: bool) -> None: ...
|
|
248
|
+
@_property
|
|
249
|
+
def accent_color(self) -> windows_ui.Color: ...
|
|
250
|
+
@accent_color.setter
|
|
251
|
+
def accent_color(self, value: windows_ui.Color) -> None: ...
|
|
252
|
+
@_property
|
|
253
|
+
def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
|
|
254
|
+
@transform.setter
|
|
255
|
+
def transform(self, value: windows_foundation_numerics.Matrix3x2) -> None: ...
|
|
256
|
+
@_property
|
|
257
|
+
def is_visible(self) -> bool: ...
|
|
258
|
+
@is_visible.setter
|
|
259
|
+
def is_visible(self, value: bool) -> None: ...
|
|
260
|
+
@_property
|
|
261
|
+
def foreground_color(self) -> windows_ui.Color: ...
|
|
262
|
+
@foreground_color.setter
|
|
263
|
+
def foreground_color(self, value: windows_ui.Color) -> None: ...
|
|
264
|
+
@_property
|
|
265
|
+
def background_color(self) -> windows_ui.Color: ...
|
|
266
|
+
@background_color.setter
|
|
267
|
+
def background_color(self, value: windows_ui.Color) -> None: ...
|
|
268
|
+
@_property
|
|
269
|
+
def kind(self) -> InkPresenterStencilKind: ...
|
|
270
|
+
|
|
271
|
+
@typing.final
|
|
272
|
+
class InkPresenterRuler(winrt.system.Object):
|
|
273
|
+
@staticmethod
|
|
274
|
+
def _from(obj: winrt.system.Object, /) -> InkPresenterRuler: ...
|
|
275
|
+
def __new__(cls: typing.Type[InkPresenterRuler], ink_presenter: typing.Optional[InkPresenter]) -> InkPresenterRuler: ...
|
|
276
|
+
@_property
|
|
277
|
+
def width(self) -> winrt.system.Double: ...
|
|
278
|
+
@width.setter
|
|
279
|
+
def width(self, value: winrt.system.Double) -> None: ...
|
|
280
|
+
@_property
|
|
281
|
+
def length(self) -> winrt.system.Double: ...
|
|
282
|
+
@length.setter
|
|
283
|
+
def length(self, value: winrt.system.Double) -> None: ...
|
|
284
|
+
@_property
|
|
285
|
+
def is_compass_visible(self) -> bool: ...
|
|
286
|
+
@is_compass_visible.setter
|
|
287
|
+
def is_compass_visible(self, value: bool) -> None: ...
|
|
288
|
+
@_property
|
|
289
|
+
def are_tick_marks_visible(self) -> bool: ...
|
|
290
|
+
@are_tick_marks_visible.setter
|
|
291
|
+
def are_tick_marks_visible(self, value: bool) -> None: ...
|
|
292
|
+
@_property
|
|
293
|
+
def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
|
|
294
|
+
@transform.setter
|
|
295
|
+
def transform(self, value: windows_foundation_numerics.Matrix3x2) -> None: ...
|
|
296
|
+
@_property
|
|
297
|
+
def is_visible(self) -> bool: ...
|
|
298
|
+
@is_visible.setter
|
|
299
|
+
def is_visible(self, value: bool) -> None: ...
|
|
300
|
+
@_property
|
|
301
|
+
def foreground_color(self) -> windows_ui.Color: ...
|
|
302
|
+
@foreground_color.setter
|
|
303
|
+
def foreground_color(self, value: windows_ui.Color) -> None: ...
|
|
304
|
+
@_property
|
|
305
|
+
def background_color(self) -> windows_ui.Color: ...
|
|
306
|
+
@background_color.setter
|
|
307
|
+
def background_color(self, value: windows_ui.Color) -> None: ...
|
|
308
|
+
@_property
|
|
309
|
+
def kind(self) -> InkPresenterStencilKind: ...
|
|
310
|
+
|
|
311
|
+
@typing.final
|
|
312
|
+
class InkRecognitionResult(winrt.system.Object):
|
|
313
|
+
@staticmethod
|
|
314
|
+
def _from(obj: winrt.system.Object, /) -> InkRecognitionResult: ...
|
|
315
|
+
def get_strokes(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
316
|
+
def get_text_candidates(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
317
|
+
@_property
|
|
318
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
319
|
+
|
|
320
|
+
@typing.final
|
|
321
|
+
class InkRecognizer(winrt.system.Object):
|
|
322
|
+
@staticmethod
|
|
323
|
+
def _from(obj: winrt.system.Object, /) -> InkRecognizer: ...
|
|
324
|
+
@_property
|
|
325
|
+
def name(self) -> str: ...
|
|
326
|
+
|
|
327
|
+
@typing.final
|
|
328
|
+
class InkRecognizerContainer(winrt.system.Object):
|
|
329
|
+
@staticmethod
|
|
330
|
+
def _from(obj: winrt.system.Object, /) -> InkRecognizerContainer: ...
|
|
331
|
+
def __new__(cls: typing.Type[InkRecognizerContainer]) -> InkRecognizerContainer: ...
|
|
332
|
+
def get_recognizers(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkRecognizer]]: ...
|
|
333
|
+
def recognize_async(self, stroke_collection: typing.Optional[InkStrokeContainer], recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
334
|
+
def set_default_recognizer(self, recognizer: typing.Optional[InkRecognizer], /) -> None: ...
|
|
335
|
+
|
|
336
|
+
@typing.final
|
|
337
|
+
class InkStroke(winrt.system.Object):
|
|
338
|
+
@staticmethod
|
|
339
|
+
def _from(obj: winrt.system.Object, /) -> InkStroke: ...
|
|
340
|
+
def clone(self) -> typing.Optional[InkStroke]: ...
|
|
341
|
+
def get_ink_points(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkPoint]]: ...
|
|
342
|
+
def get_rendering_segments(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStrokeRenderingSegment]]: ...
|
|
343
|
+
@_property
|
|
344
|
+
def selected(self) -> bool: ...
|
|
345
|
+
@selected.setter
|
|
346
|
+
def selected(self, value: bool) -> None: ...
|
|
347
|
+
@_property
|
|
348
|
+
def drawing_attributes(self) -> typing.Optional[InkDrawingAttributes]: ...
|
|
349
|
+
@drawing_attributes.setter
|
|
350
|
+
def drawing_attributes(self, value: typing.Optional[InkDrawingAttributes]) -> None: ...
|
|
351
|
+
@_property
|
|
352
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
353
|
+
@_property
|
|
354
|
+
def recognized(self) -> bool: ...
|
|
355
|
+
@_property
|
|
356
|
+
def point_transform(self) -> windows_foundation_numerics.Matrix3x2: ...
|
|
357
|
+
@point_transform.setter
|
|
358
|
+
def point_transform(self, value: windows_foundation_numerics.Matrix3x2) -> None: ...
|
|
359
|
+
@_property
|
|
360
|
+
def stroke_started_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
361
|
+
@stroke_started_time.setter
|
|
362
|
+
def stroke_started_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
363
|
+
@_property
|
|
364
|
+
def stroke_duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
365
|
+
@stroke_duration.setter
|
|
366
|
+
def stroke_duration(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
|
|
367
|
+
@_property
|
|
368
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
369
|
+
@_property
|
|
370
|
+
def pointer_id(self) -> winrt.system.UInt32: ...
|
|
371
|
+
|
|
372
|
+
@typing.final
|
|
373
|
+
class InkStrokeBuilder(winrt.system.Object):
|
|
374
|
+
@staticmethod
|
|
375
|
+
def _from(obj: winrt.system.Object, /) -> InkStrokeBuilder: ...
|
|
376
|
+
def __new__(cls: typing.Type[InkStrokeBuilder]) -> InkStrokeBuilder: ...
|
|
377
|
+
def append_to_stroke(self, pointer_point: typing.Optional[windows_ui_input.PointerPoint], /) -> typing.Optional[windows_ui_input.PointerPoint]: ...
|
|
378
|
+
def begin_stroke(self, pointer_point: typing.Optional[windows_ui_input.PointerPoint], /) -> None: ...
|
|
379
|
+
def create_stroke(self, points: typing.Iterable[windows_foundation.Point], /) -> typing.Optional[InkStroke]: ...
|
|
380
|
+
@typing.overload
|
|
381
|
+
def create_stroke_from_ink_points(self, ink_points: typing.Iterable[InkPoint], transform: windows_foundation_numerics.Matrix3x2, /) -> typing.Optional[InkStroke]: ...
|
|
382
|
+
@typing.overload
|
|
383
|
+
def create_stroke_from_ink_points(self, ink_points: typing.Iterable[InkPoint], transform: windows_foundation_numerics.Matrix3x2, stroke_started_time: typing.Optional[datetime.datetime], stroke_duration: typing.Optional[datetime.timedelta], /) -> typing.Optional[InkStroke]: ...
|
|
384
|
+
def end_stroke(self, pointer_point: typing.Optional[windows_ui_input.PointerPoint], /) -> typing.Optional[InkStroke]: ...
|
|
385
|
+
def set_default_drawing_attributes(self, drawing_attributes: typing.Optional[InkDrawingAttributes], /) -> None: ...
|
|
386
|
+
|
|
387
|
+
@typing.final
|
|
388
|
+
class InkStrokeContainer(winrt.system.Object):
|
|
389
|
+
@staticmethod
|
|
390
|
+
def _from(obj: winrt.system.Object, /) -> InkStrokeContainer: ...
|
|
391
|
+
def __new__(cls: typing.Type[InkStrokeContainer]) -> InkStrokeContainer: ...
|
|
392
|
+
def add_stroke(self, stroke: typing.Optional[InkStroke], /) -> None: ...
|
|
393
|
+
def add_strokes(self, strokes: typing.Iterable[InkStroke], /) -> None: ...
|
|
394
|
+
def can_paste_from_clipboard(self) -> bool: ...
|
|
395
|
+
def clear(self) -> None: ...
|
|
396
|
+
def copy_selected_to_clipboard(self) -> None: ...
|
|
397
|
+
def delete_selected(self) -> windows_foundation.Rect: ...
|
|
398
|
+
def get_recognition_results(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
399
|
+
def get_stroke_by_id(self, id: winrt.system.UInt32, /) -> typing.Optional[InkStroke]: ...
|
|
400
|
+
def get_strokes(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
401
|
+
def load_async(self, input_stream: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
|
|
402
|
+
def move_selected(self, translation: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
403
|
+
def paste_from_clipboard(self, position: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
404
|
+
@typing.overload
|
|
405
|
+
def save_async(self, output_stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
406
|
+
@typing.overload
|
|
407
|
+
def save_async(self, output_stream: typing.Optional[windows_storage_streams.IOutputStream], ink_persistence_format: InkPersistenceFormat, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
408
|
+
def select_with_line(self, from_: windows_foundation.Point, to: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
409
|
+
def select_with_poly_line(self, polyline: typing.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
|
|
410
|
+
def update_recognition_results(self, recognition_results: windows_foundation_collections.IVectorView[InkRecognitionResult], /) -> None: ...
|
|
411
|
+
@_property
|
|
412
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
413
|
+
|
|
414
|
+
@typing.final
|
|
415
|
+
class InkStrokeInput(winrt.system.Object):
|
|
416
|
+
@staticmethod
|
|
417
|
+
def _from(obj: winrt.system.Object, /) -> InkStrokeInput: ...
|
|
418
|
+
def add_stroke_canceled(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
419
|
+
def remove_stroke_canceled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
420
|
+
def add_stroke_continued(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
421
|
+
def remove_stroke_continued(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
422
|
+
def add_stroke_ended(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
423
|
+
def remove_stroke_ended(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
424
|
+
def add_stroke_started(self, handler: windows_foundation.TypedEventHandler[InkStrokeInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
425
|
+
def remove_stroke_started(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
426
|
+
@_property
|
|
427
|
+
def ink_presenter(self) -> typing.Optional[InkPresenter]: ...
|
|
428
|
+
|
|
429
|
+
@typing.final
|
|
430
|
+
class InkStrokeRenderingSegment(winrt.system.Object):
|
|
431
|
+
@staticmethod
|
|
432
|
+
def _from(obj: winrt.system.Object, /) -> InkStrokeRenderingSegment: ...
|
|
433
|
+
@_property
|
|
434
|
+
def bezier_control_point1(self) -> windows_foundation.Point: ...
|
|
435
|
+
@_property
|
|
436
|
+
def bezier_control_point2(self) -> windows_foundation.Point: ...
|
|
437
|
+
@_property
|
|
438
|
+
def position(self) -> windows_foundation.Point: ...
|
|
439
|
+
@_property
|
|
440
|
+
def pressure(self) -> winrt.system.Single: ...
|
|
441
|
+
@_property
|
|
442
|
+
def tilt_x(self) -> winrt.system.Single: ...
|
|
443
|
+
@_property
|
|
444
|
+
def tilt_y(self) -> winrt.system.Single: ...
|
|
445
|
+
@_property
|
|
446
|
+
def twist(self) -> winrt.system.Single: ...
|
|
447
|
+
|
|
448
|
+
@typing.final
|
|
449
|
+
class InkStrokesCollectedEventArgs(winrt.system.Object):
|
|
450
|
+
@staticmethod
|
|
451
|
+
def _from(obj: winrt.system.Object, /) -> InkStrokesCollectedEventArgs: ...
|
|
452
|
+
@_property
|
|
453
|
+
def strokes(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
454
|
+
|
|
455
|
+
@typing.final
|
|
456
|
+
class InkStrokesErasedEventArgs(winrt.system.Object):
|
|
457
|
+
@staticmethod
|
|
458
|
+
def _from(obj: winrt.system.Object, /) -> InkStrokesErasedEventArgs: ...
|
|
459
|
+
@_property
|
|
460
|
+
def strokes(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
461
|
+
|
|
462
|
+
@typing.final
|
|
463
|
+
class InkSynchronizer(winrt.system.Object):
|
|
464
|
+
@staticmethod
|
|
465
|
+
def _from(obj: winrt.system.Object, /) -> InkSynchronizer: ...
|
|
466
|
+
def begin_dry(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
467
|
+
def end_dry(self) -> None: ...
|
|
468
|
+
|
|
469
|
+
@typing.final
|
|
470
|
+
class InkUnprocessedInput(winrt.system.Object):
|
|
471
|
+
@staticmethod
|
|
472
|
+
def _from(obj: winrt.system.Object, /) -> InkUnprocessedInput: ...
|
|
473
|
+
def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
474
|
+
def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
475
|
+
def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
476
|
+
def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
477
|
+
def add_pointer_hovered(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
478
|
+
def remove_pointer_hovered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
479
|
+
def add_pointer_lost(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
480
|
+
def remove_pointer_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
481
|
+
def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
482
|
+
def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
483
|
+
def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
484
|
+
def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
485
|
+
def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[InkUnprocessedInput, windows_ui_core.PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
486
|
+
def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
487
|
+
@_property
|
|
488
|
+
def ink_presenter(self) -> typing.Optional[InkPresenter]: ...
|
|
489
|
+
|
|
490
|
+
@typing.final
|
|
491
|
+
class PenAndInkSettings_Static(type):
|
|
492
|
+
def get_default(cls) -> typing.Optional[PenAndInkSettings]: ...
|
|
493
|
+
|
|
494
|
+
@typing.final
|
|
495
|
+
class PenAndInkSettings(winrt.system.Object, metaclass=PenAndInkSettings_Static):
|
|
496
|
+
@staticmethod
|
|
497
|
+
def _from(obj: winrt.system.Object, /) -> PenAndInkSettings: ...
|
|
498
|
+
def set_pen_handedness(self, value: PenHandedness, /) -> None: ...
|
|
499
|
+
@_property
|
|
500
|
+
def font_family_name(self) -> str: ...
|
|
501
|
+
@_property
|
|
502
|
+
def handwriting_line_height(self) -> HandwritingLineHeight: ...
|
|
503
|
+
@_property
|
|
504
|
+
def is_handwriting_directly_into_text_field_enabled(self) -> bool: ...
|
|
505
|
+
@_property
|
|
506
|
+
def is_touch_handwriting_enabled(self) -> bool: ...
|
|
507
|
+
@_property
|
|
508
|
+
def pen_handedness(self) -> PenHandedness: ...
|
|
509
|
+
@_property
|
|
510
|
+
def user_consents_to_handwriting_telemetry_collection(self) -> bool: ...
|
|
511
|
+
|
|
512
|
+
@typing.final
|
|
513
|
+
class IInkPointFactory(winrt.system.Object):
|
|
514
|
+
@staticmethod
|
|
515
|
+
def _from(obj: winrt.system.Object, /) -> IInkPointFactory: ...
|
|
516
|
+
def create_ink_point(self, position: windows_foundation.Point, pressure: winrt.system.Single, /) -> typing.Optional[InkPoint]: ...
|
|
517
|
+
|
|
518
|
+
@typing.final
|
|
519
|
+
class IInkPresenterRulerFactory(winrt.system.Object):
|
|
520
|
+
@staticmethod
|
|
521
|
+
def _from(obj: winrt.system.Object, /) -> IInkPresenterRulerFactory: ...
|
|
522
|
+
def create(self, ink_presenter: typing.Optional[InkPresenter], /) -> typing.Optional[InkPresenterRuler]: ...
|
|
523
|
+
|
|
524
|
+
@typing.final
|
|
525
|
+
class IInkPresenterStencil(winrt.system.Object):
|
|
526
|
+
@staticmethod
|
|
527
|
+
def _from(obj: winrt.system.Object, /) -> IInkPresenterStencil: ...
|
|
528
|
+
@_property
|
|
529
|
+
def background_color(self) -> windows_ui.Color: ...
|
|
530
|
+
@background_color.setter
|
|
531
|
+
def background_color(self, value: windows_ui.Color) -> None: ...
|
|
532
|
+
@_property
|
|
533
|
+
def foreground_color(self) -> windows_ui.Color: ...
|
|
534
|
+
@foreground_color.setter
|
|
535
|
+
def foreground_color(self, value: windows_ui.Color) -> None: ...
|
|
536
|
+
@_property
|
|
537
|
+
def is_visible(self) -> bool: ...
|
|
538
|
+
@is_visible.setter
|
|
539
|
+
def is_visible(self, value: bool) -> None: ...
|
|
540
|
+
@_property
|
|
541
|
+
def kind(self) -> InkPresenterStencilKind: ...
|
|
542
|
+
@_property
|
|
543
|
+
def transform(self) -> windows_foundation_numerics.Matrix3x2: ...
|
|
544
|
+
@transform.setter
|
|
545
|
+
def transform(self, value: windows_foundation_numerics.Matrix3x2) -> None: ...
|
|
546
|
+
|
|
547
|
+
@typing.final
|
|
548
|
+
class IInkRecognizerContainer(winrt.system.Object):
|
|
549
|
+
@staticmethod
|
|
550
|
+
def _from(obj: winrt.system.Object, /) -> IInkRecognizerContainer: ...
|
|
551
|
+
def get_recognizers(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkRecognizer]]: ...
|
|
552
|
+
def recognize_async(self, stroke_collection: typing.Optional[InkStrokeContainer], recognition_target: InkRecognitionTarget, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
553
|
+
def set_default_recognizer(self, recognizer: typing.Optional[InkRecognizer], /) -> None: ...
|
|
554
|
+
|
|
555
|
+
@typing.final
|
|
556
|
+
class IInkStrokeContainer(winrt.system.Object):
|
|
557
|
+
@staticmethod
|
|
558
|
+
def _from(obj: winrt.system.Object, /) -> IInkStrokeContainer: ...
|
|
559
|
+
def add_stroke(self, stroke: typing.Optional[InkStroke], /) -> None: ...
|
|
560
|
+
def can_paste_from_clipboard(self) -> bool: ...
|
|
561
|
+
def copy_selected_to_clipboard(self) -> None: ...
|
|
562
|
+
def delete_selected(self) -> windows_foundation.Rect: ...
|
|
563
|
+
def get_recognition_results(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkRecognitionResult]]: ...
|
|
564
|
+
def get_strokes(self) -> typing.Optional[windows_foundation_collections.IVectorView[InkStroke]]: ...
|
|
565
|
+
def load_async(self, input_stream: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncActionWithProgress[winrt.system.UInt64]: ...
|
|
566
|
+
def move_selected(self, translation: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
567
|
+
def paste_from_clipboard(self, position: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
568
|
+
def save_async(self, output_stream: typing.Optional[windows_storage_streams.IOutputStream], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
569
|
+
def select_with_line(self, from_: windows_foundation.Point, to: windows_foundation.Point, /) -> windows_foundation.Rect: ...
|
|
570
|
+
def select_with_poly_line(self, polyline: typing.Iterable[windows_foundation.Point], /) -> windows_foundation.Rect: ...
|
|
571
|
+
def update_recognition_results(self, recognition_results: windows_foundation_collections.IVectorView[InkRecognitionResult], /) -> None: ...
|
|
572
|
+
@_property
|
|
573
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
574
|
+
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_ui_input_inking
|
|
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
|
+
class HandwritingLineHeight(enum.IntEnum):
|
|
52
|
+
SMALL = 0
|
|
53
|
+
MEDIUM = 1
|
|
54
|
+
LARGE = 2
|
|
55
|
+
|
|
56
|
+
class InkDrawingAttributesKind(enum.IntEnum):
|
|
57
|
+
DEFAULT = 0
|
|
58
|
+
PENCIL = 1
|
|
59
|
+
|
|
60
|
+
class InkHighContrastAdjustment(enum.IntEnum):
|
|
61
|
+
USE_SYSTEM_COLORS_WHEN_NECESSARY = 0
|
|
62
|
+
USE_SYSTEM_COLORS = 1
|
|
63
|
+
USE_ORIGINAL_COLORS = 2
|
|
64
|
+
|
|
65
|
+
class InkInputProcessingMode(enum.IntEnum):
|
|
66
|
+
NONE = 0
|
|
67
|
+
INKING = 1
|
|
68
|
+
ERASING = 2
|
|
69
|
+
|
|
70
|
+
class InkInputRightDragAction(enum.IntEnum):
|
|
71
|
+
LEAVE_UNPROCESSED = 0
|
|
72
|
+
ALLOW_PROCESSING = 1
|
|
73
|
+
|
|
74
|
+
class InkManipulationMode(enum.IntEnum):
|
|
75
|
+
INKING = 0
|
|
76
|
+
ERASING = 1
|
|
77
|
+
SELECTING = 2
|
|
78
|
+
|
|
79
|
+
class InkPersistenceFormat(enum.IntEnum):
|
|
80
|
+
GIF_WITH_EMBEDDED_ISF = 0
|
|
81
|
+
ISF = 1
|
|
82
|
+
|
|
83
|
+
class InkPresenterPredefinedConfiguration(enum.IntEnum):
|
|
84
|
+
SIMPLE_SINGLE_POINTER = 0
|
|
85
|
+
SIMPLE_MULTIPLE_POINTER = 1
|
|
86
|
+
|
|
87
|
+
class InkPresenterStencilKind(enum.IntEnum):
|
|
88
|
+
OTHER = 0
|
|
89
|
+
RULER = 1
|
|
90
|
+
PROTRACTOR = 2
|
|
91
|
+
|
|
92
|
+
class InkRecognitionTarget(enum.IntEnum):
|
|
93
|
+
ALL = 0
|
|
94
|
+
SELECTED = 1
|
|
95
|
+
RECENT = 2
|
|
96
|
+
|
|
97
|
+
class PenHandedness(enum.IntEnum):
|
|
98
|
+
RIGHT = 0
|
|
99
|
+
LEFT = 1
|
|
100
|
+
|
|
101
|
+
class PenTipShape(enum.IntEnum):
|
|
102
|
+
CIRCLE = 0
|
|
103
|
+
RECTANGLE = 1
|
|
104
|
+
|
|
105
|
+
InkDrawingAttributes = _winrt_windows_ui_input_inking.InkDrawingAttributes
|
|
106
|
+
InkDrawingAttributesPencilProperties = _winrt_windows_ui_input_inking.InkDrawingAttributesPencilProperties
|
|
107
|
+
InkInputConfiguration = _winrt_windows_ui_input_inking.InkInputConfiguration
|
|
108
|
+
InkInputProcessingConfiguration = _winrt_windows_ui_input_inking.InkInputProcessingConfiguration
|
|
109
|
+
InkManager = _winrt_windows_ui_input_inking.InkManager
|
|
110
|
+
InkModelerAttributes = _winrt_windows_ui_input_inking.InkModelerAttributes
|
|
111
|
+
InkPoint = _winrt_windows_ui_input_inking.InkPoint
|
|
112
|
+
InkPresenter = _winrt_windows_ui_input_inking.InkPresenter
|
|
113
|
+
InkPresenterProtractor = _winrt_windows_ui_input_inking.InkPresenterProtractor
|
|
114
|
+
InkPresenterRuler = _winrt_windows_ui_input_inking.InkPresenterRuler
|
|
115
|
+
InkRecognitionResult = _winrt_windows_ui_input_inking.InkRecognitionResult
|
|
116
|
+
InkRecognizer = _winrt_windows_ui_input_inking.InkRecognizer
|
|
117
|
+
InkRecognizerContainer = _winrt_windows_ui_input_inking.InkRecognizerContainer
|
|
118
|
+
InkStroke = _winrt_windows_ui_input_inking.InkStroke
|
|
119
|
+
InkStrokeBuilder = _winrt_windows_ui_input_inking.InkStrokeBuilder
|
|
120
|
+
InkStrokeContainer = _winrt_windows_ui_input_inking.InkStrokeContainer
|
|
121
|
+
InkStrokeInput = _winrt_windows_ui_input_inking.InkStrokeInput
|
|
122
|
+
InkStrokeRenderingSegment = _winrt_windows_ui_input_inking.InkStrokeRenderingSegment
|
|
123
|
+
InkStrokesCollectedEventArgs = _winrt_windows_ui_input_inking.InkStrokesCollectedEventArgs
|
|
124
|
+
InkStrokesErasedEventArgs = _winrt_windows_ui_input_inking.InkStrokesErasedEventArgs
|
|
125
|
+
InkSynchronizer = _winrt_windows_ui_input_inking.InkSynchronizer
|
|
126
|
+
InkUnprocessedInput = _winrt_windows_ui_input_inking.InkUnprocessedInput
|
|
127
|
+
PenAndInkSettings = _winrt_windows_ui_input_inking.PenAndInkSettings
|
|
128
|
+
IInkPointFactory = _winrt_windows_ui_input_inking.IInkPointFactory
|
|
129
|
+
IInkPresenterRulerFactory = _winrt_windows_ui_input_inking.IInkPresenterRulerFactory
|
|
130
|
+
IInkPresenterStencil = _winrt_windows_ui_input_inking.IInkPresenterStencil
|
|
131
|
+
IInkRecognizerContainer = _winrt_windows_ui_input_inking.IInkRecognizerContainer
|
|
132
|
+
IInkStrokeContainer = _winrt_windows_ui_input_inking.IInkStrokeContainer
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.Input.Inking
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Core[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.Input[all] ==2.2.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.cp313-win_arm64.pyd,sha256=qz5ItO7CwDudi4VqvyTFb77NQh5DXa2yk0PaYtFtZjo,557056
|
|
2
|
+
winrt/_winrt_windows_ui_input_inking.pyi,sha256=iiM2m0g_yP9ELydZh6pcum6VjPttxb1ef9XibjisjwY,31267
|
|
3
|
+
winrt/windows/ui/input/inking/__init__.py,sha256=xbg3REmDXY9aKp787NWMrW60t0cnKUyJtC3YDaDRNzA,4458
|
|
4
|
+
winrt/windows/ui/input/inking/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.UI.Input.Inking-2.2.0.dist-info/METADATA,sha256=EAx_PdXMTkA82bVdAksMIq7t72g5bIzWcEfkVTtwdYo,1482
|
|
6
|
+
winrt_Windows.UI.Input.Inking-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
|
|
7
|
+
winrt_Windows.UI.Input.Inking-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.UI.Input.Inking-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|