winrt-Windows.UI.Input.Inking.Analysis 4!10.0.28000.2705__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/windows/ui/input/inking/analysis/__init__.py +27 -0
- winrt/windows/ui/input/inking/analysis/__init__.pyi +401 -0
- winrt/windows/ui/input/inking/analysis/_table.pywinrt +0 -0
- winrt/windows/ui/input/inking/analysis/py.typed +0 -0
- winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/METADATA +47 -0
- winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"InkAnalysisDrawingKind",
|
|
10
|
+
"InkAnalysisNodeKind",
|
|
11
|
+
"InkAnalysisStatus",
|
|
12
|
+
"InkAnalysisStrokeKind",
|
|
13
|
+
"InkAnalysisInkBullet",
|
|
14
|
+
"InkAnalysisInkDrawing",
|
|
15
|
+
"InkAnalysisInkWord",
|
|
16
|
+
"InkAnalysisLine",
|
|
17
|
+
"InkAnalysisListItem",
|
|
18
|
+
"InkAnalysisNode",
|
|
19
|
+
"InkAnalysisParagraph",
|
|
20
|
+
"InkAnalysisResult",
|
|
21
|
+
"InkAnalysisRoot",
|
|
22
|
+
"InkAnalysisWritingRegion",
|
|
23
|
+
"InkAnalyzer",
|
|
24
|
+
"IInkAnalysisNode",
|
|
25
|
+
"IInkAnalyzerFactory",
|
|
26
|
+
]
|
|
27
|
+
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
from abc import abstractmethod
|
|
8
|
+
|
|
9
|
+
import winrt.system
|
|
10
|
+
import winrt.windows.foundation as windows_foundation
|
|
11
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
12
|
+
import winrt.windows.ui.input.inking as windows_ui_input_inking
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"InkAnalysisDrawingKind",
|
|
16
|
+
"InkAnalysisNodeKind",
|
|
17
|
+
"InkAnalysisStatus",
|
|
18
|
+
"InkAnalysisStrokeKind",
|
|
19
|
+
"InkAnalysisInkBullet",
|
|
20
|
+
"InkAnalysisInkDrawing",
|
|
21
|
+
"InkAnalysisInkWord",
|
|
22
|
+
"InkAnalysisLine",
|
|
23
|
+
"InkAnalysisListItem",
|
|
24
|
+
"InkAnalysisNode",
|
|
25
|
+
"InkAnalysisParagraph",
|
|
26
|
+
"InkAnalysisResult",
|
|
27
|
+
"InkAnalysisRoot",
|
|
28
|
+
"InkAnalysisWritingRegion",
|
|
29
|
+
"InkAnalyzer",
|
|
30
|
+
"IInkAnalysisNode",
|
|
31
|
+
"IInkAnalyzerFactory",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
class InkAnalysisDrawingKind(enum.IntEnum):
|
|
35
|
+
DRAWING = 0
|
|
36
|
+
CIRCLE = 1
|
|
37
|
+
ELLIPSE = 2
|
|
38
|
+
TRIANGLE = 3
|
|
39
|
+
ISOSCELES_TRIANGLE = 4
|
|
40
|
+
EQUILATERAL_TRIANGLE = 5
|
|
41
|
+
RIGHT_TRIANGLE = 6
|
|
42
|
+
QUADRILATERAL = 7
|
|
43
|
+
RECTANGLE = 8
|
|
44
|
+
SQUARE = 9
|
|
45
|
+
DIAMOND = 10
|
|
46
|
+
TRAPEZOID = 11
|
|
47
|
+
PARALLELOGRAM = 12
|
|
48
|
+
PENTAGON = 13
|
|
49
|
+
HEXAGON = 14
|
|
50
|
+
|
|
51
|
+
class InkAnalysisNodeKind(enum.IntEnum):
|
|
52
|
+
UNCLASSIFIED_INK = 0
|
|
53
|
+
ROOT = 1
|
|
54
|
+
WRITING_REGION = 2
|
|
55
|
+
PARAGRAPH = 3
|
|
56
|
+
LINE = 4
|
|
57
|
+
INK_WORD = 5
|
|
58
|
+
INK_BULLET = 6
|
|
59
|
+
INK_DRAWING = 7
|
|
60
|
+
LIST_ITEM = 8
|
|
61
|
+
|
|
62
|
+
class InkAnalysisStatus(enum.IntEnum):
|
|
63
|
+
UPDATED = 0
|
|
64
|
+
UNCHANGED = 1
|
|
65
|
+
|
|
66
|
+
class InkAnalysisStrokeKind(enum.IntEnum):
|
|
67
|
+
AUTO = 0
|
|
68
|
+
WRITING = 1
|
|
69
|
+
DRAWING = 2
|
|
70
|
+
|
|
71
|
+
@typing.final
|
|
72
|
+
class InkAnalysisInkBullet(IInkAnalysisNode, winrt.system.Object):
|
|
73
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
74
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
75
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::GetStrokeIds()
|
|
76
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
77
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_RecognizedText()
|
|
78
|
+
@_property
|
|
79
|
+
def recognized_text(self) -> str: ...
|
|
80
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_BoundingRect()
|
|
81
|
+
@_property
|
|
82
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
83
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_Children()
|
|
84
|
+
@_property
|
|
85
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
86
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_Id()
|
|
87
|
+
@_property
|
|
88
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
89
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_Kind()
|
|
90
|
+
@_property
|
|
91
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
92
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_Parent()
|
|
93
|
+
@_property
|
|
94
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
95
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet::get_RotatedBoundingRect()
|
|
96
|
+
@_property
|
|
97
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
98
|
+
|
|
99
|
+
@typing.final
|
|
100
|
+
class InkAnalysisInkDrawing(IInkAnalysisNode, winrt.system.Object):
|
|
101
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
102
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
103
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::GetStrokeIds()
|
|
104
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
105
|
+
# Windows.Foundation.Point Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_Center()
|
|
106
|
+
@_property
|
|
107
|
+
def center(self) -> windows_foundation.Point: ...
|
|
108
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisDrawingKind Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_DrawingKind()
|
|
109
|
+
@_property
|
|
110
|
+
def drawing_kind(self) -> InkAnalysisDrawingKind: ...
|
|
111
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_Points()
|
|
112
|
+
@_property
|
|
113
|
+
def points(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
114
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_BoundingRect()
|
|
115
|
+
@_property
|
|
116
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
117
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_Children()
|
|
118
|
+
@_property
|
|
119
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
120
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_Id()
|
|
121
|
+
@_property
|
|
122
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
123
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_Kind()
|
|
124
|
+
@_property
|
|
125
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
126
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_Parent()
|
|
127
|
+
@_property
|
|
128
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
129
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing::get_RotatedBoundingRect()
|
|
130
|
+
@_property
|
|
131
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
132
|
+
|
|
133
|
+
@typing.final
|
|
134
|
+
class InkAnalysisInkWord(IInkAnalysisNode, winrt.system.Object):
|
|
135
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
136
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
137
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::GetStrokeIds()
|
|
138
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
139
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_RecognizedText()
|
|
140
|
+
@_property
|
|
141
|
+
def recognized_text(self) -> str: ...
|
|
142
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_TextAlternates()
|
|
143
|
+
@_property
|
|
144
|
+
def text_alternates(self) -> _cabc.Sequence[str]: ...
|
|
145
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_BoundingRect()
|
|
146
|
+
@_property
|
|
147
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
148
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_Children()
|
|
149
|
+
@_property
|
|
150
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
151
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_Id()
|
|
152
|
+
@_property
|
|
153
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
154
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_Kind()
|
|
155
|
+
@_property
|
|
156
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
157
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_Parent()
|
|
158
|
+
@_property
|
|
159
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
160
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord::get_RotatedBoundingRect()
|
|
161
|
+
@_property
|
|
162
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
163
|
+
|
|
164
|
+
@typing.final
|
|
165
|
+
class InkAnalysisLine(IInkAnalysisNode, winrt.system.Object):
|
|
166
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
167
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
168
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisLine::GetStrokeIds()
|
|
169
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
170
|
+
# System.Int32 Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_IndentLevel()
|
|
171
|
+
@_property
|
|
172
|
+
def indent_level(self) -> winrt.system.Int32: ...
|
|
173
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_RecognizedText()
|
|
174
|
+
@_property
|
|
175
|
+
def recognized_text(self) -> str: ...
|
|
176
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_BoundingRect()
|
|
177
|
+
@_property
|
|
178
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
179
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_Children()
|
|
180
|
+
@_property
|
|
181
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
182
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_Id()
|
|
183
|
+
@_property
|
|
184
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
185
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_Kind()
|
|
186
|
+
@_property
|
|
187
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
188
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_Parent()
|
|
189
|
+
@_property
|
|
190
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
191
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisLine::get_RotatedBoundingRect()
|
|
192
|
+
@_property
|
|
193
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
194
|
+
|
|
195
|
+
@typing.final
|
|
196
|
+
class InkAnalysisListItem(IInkAnalysisNode, winrt.system.Object):
|
|
197
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
198
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
199
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::GetStrokeIds()
|
|
200
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
201
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_RecognizedText()
|
|
202
|
+
@_property
|
|
203
|
+
def recognized_text(self) -> str: ...
|
|
204
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_BoundingRect()
|
|
205
|
+
@_property
|
|
206
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
207
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_Children()
|
|
208
|
+
@_property
|
|
209
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
210
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_Id()
|
|
211
|
+
@_property
|
|
212
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
213
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_Kind()
|
|
214
|
+
@_property
|
|
215
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
216
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_Parent()
|
|
217
|
+
@_property
|
|
218
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
219
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisListItem::get_RotatedBoundingRect()
|
|
220
|
+
@_property
|
|
221
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
222
|
+
|
|
223
|
+
@typing.final
|
|
224
|
+
class InkAnalysisNode(IInkAnalysisNode, winrt.system.Object):
|
|
225
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
226
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
227
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisNode::GetStrokeIds()
|
|
228
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
229
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisNode::get_BoundingRect()
|
|
230
|
+
@_property
|
|
231
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
232
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisNode::get_Children()
|
|
233
|
+
@_property
|
|
234
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
235
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisNode::get_Id()
|
|
236
|
+
@_property
|
|
237
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
238
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisNode::get_Kind()
|
|
239
|
+
@_property
|
|
240
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
241
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisNode::get_Parent()
|
|
242
|
+
@_property
|
|
243
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
244
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisNode::get_RotatedBoundingRect()
|
|
245
|
+
@_property
|
|
246
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
247
|
+
|
|
248
|
+
@typing.final
|
|
249
|
+
class InkAnalysisParagraph(IInkAnalysisNode, winrt.system.Object):
|
|
250
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
251
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
252
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::GetStrokeIds()
|
|
253
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
254
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_BoundingRect()
|
|
255
|
+
@_property
|
|
256
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
257
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_Children()
|
|
258
|
+
@_property
|
|
259
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
260
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_Id()
|
|
261
|
+
@_property
|
|
262
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
263
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_Kind()
|
|
264
|
+
@_property
|
|
265
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
266
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_Parent()
|
|
267
|
+
@_property
|
|
268
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
269
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_RotatedBoundingRect()
|
|
270
|
+
@_property
|
|
271
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
272
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph::get_RecognizedText()
|
|
273
|
+
@_property
|
|
274
|
+
def recognized_text(self) -> str: ...
|
|
275
|
+
|
|
276
|
+
@typing.final
|
|
277
|
+
class InkAnalysisResult(winrt.system.Object):
|
|
278
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
279
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
280
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisStatus Windows.UI.Input.Inking.Analysis.InkAnalysisResult::get_Status()
|
|
281
|
+
@_property
|
|
282
|
+
def status(self) -> InkAnalysisStatus: ...
|
|
283
|
+
|
|
284
|
+
@typing.final
|
|
285
|
+
class InkAnalysisRoot(IInkAnalysisNode, winrt.system.Object):
|
|
286
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
287
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
288
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::FindNodes(Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind)
|
|
289
|
+
def find_nodes(self, node_kind: InkAnalysisNodeKind, /) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
290
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::GetStrokeIds()
|
|
291
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
292
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_BoundingRect()
|
|
293
|
+
@_property
|
|
294
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
295
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_Children()
|
|
296
|
+
@_property
|
|
297
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
298
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_Id()
|
|
299
|
+
@_property
|
|
300
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
301
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_Kind()
|
|
302
|
+
@_property
|
|
303
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
304
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_Parent()
|
|
305
|
+
@_property
|
|
306
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
307
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_RotatedBoundingRect()
|
|
308
|
+
@_property
|
|
309
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
310
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisRoot::get_RecognizedText()
|
|
311
|
+
@_property
|
|
312
|
+
def recognized_text(self) -> str: ...
|
|
313
|
+
|
|
314
|
+
@typing.final
|
|
315
|
+
class InkAnalysisWritingRegion(IInkAnalysisNode, winrt.system.Object):
|
|
316
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
317
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
318
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::GetStrokeIds()
|
|
319
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
320
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_BoundingRect()
|
|
321
|
+
@_property
|
|
322
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
323
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_Children()
|
|
324
|
+
@_property
|
|
325
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
326
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_Id()
|
|
327
|
+
@_property
|
|
328
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
329
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_Kind()
|
|
330
|
+
@_property
|
|
331
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
332
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_Parent()
|
|
333
|
+
@_property
|
|
334
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
335
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_RotatedBoundingRect()
|
|
336
|
+
@_property
|
|
337
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
338
|
+
# System.String Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion::get_RecognizedText()
|
|
339
|
+
@_property
|
|
340
|
+
def recognized_text(self) -> str: ...
|
|
341
|
+
|
|
342
|
+
@typing.final
|
|
343
|
+
class InkAnalyzer(winrt.system.Object):
|
|
344
|
+
def __new__(cls) -> typing.Self: ...
|
|
345
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::AddDataForStroke(Windows.UI.Input.Inking.InkStroke)
|
|
346
|
+
def add_data_for_stroke(self, stroke: windows_ui_input_inking.InkStroke, /) -> None: ...
|
|
347
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::AddDataForStrokes(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Inking.InkStroke>)
|
|
348
|
+
def add_data_for_strokes(self, strokes: _cabc.Iterable[windows_ui_input_inking.InkStroke], /) -> None: ...
|
|
349
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.UI.Input.Inking.Analysis.InkAnalysisResult> Windows.UI.Input.Inking.Analysis.InkAnalyzer::AnalyzeAsync()
|
|
350
|
+
def analyze_async(self) -> windows_foundation.IAsyncOperation[InkAnalysisResult]: ...
|
|
351
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::ClearDataForAllStrokes()
|
|
352
|
+
def clear_data_for_all_strokes(self) -> None: ...
|
|
353
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::RemoveDataForStroke(System.UInt32)
|
|
354
|
+
def remove_data_for_stroke(self, stroke_id: winrt.system.UInt32 | typing.SupportsIndex, /) -> None: ...
|
|
355
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::RemoveDataForStrokes(Windows.Foundation.Collections.IIterable`1<System.UInt32>)
|
|
356
|
+
def remove_data_for_strokes(self, stroke_ids: _cabc.Iterable[winrt.system.UInt32], /) -> None: ...
|
|
357
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::ReplaceDataForStroke(Windows.UI.Input.Inking.InkStroke)
|
|
358
|
+
def replace_data_for_stroke(self, stroke: windows_ui_input_inking.InkStroke, /) -> None: ...
|
|
359
|
+
# System.Void Windows.UI.Input.Inking.Analysis.InkAnalyzer::SetStrokeDataKind(System.UInt32,Windows.UI.Input.Inking.Analysis.InkAnalysisStrokeKind)
|
|
360
|
+
def set_stroke_data_kind(self, stroke_id: winrt.system.UInt32 | typing.SupportsIndex, stroke_kind: InkAnalysisStrokeKind, /) -> None: ...
|
|
361
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisRoot Windows.UI.Input.Inking.Analysis.InkAnalyzer::get_AnalysisRoot()
|
|
362
|
+
@_property
|
|
363
|
+
def analysis_root(self) -> InkAnalysisRoot: ...
|
|
364
|
+
# System.Boolean Windows.UI.Input.Inking.Analysis.InkAnalyzer::get_IsAnalyzing()
|
|
365
|
+
@_property
|
|
366
|
+
def is_analyzing(self) -> bool: ...
|
|
367
|
+
|
|
368
|
+
class IInkAnalysisNode(winrt.system.Object):
|
|
369
|
+
# Windows.Foundation.Collections.IVectorView`1<System.UInt32> Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::GetStrokeIds()
|
|
370
|
+
@abstractmethod
|
|
371
|
+
def get_stroke_ids(self) -> _cabc.Sequence[winrt.system.UInt32]: ...
|
|
372
|
+
# Windows.Foundation.Rect Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::get_BoundingRect()
|
|
373
|
+
@_property
|
|
374
|
+
@abstractmethod
|
|
375
|
+
def bounding_rect(self) -> windows_foundation.Rect: ...
|
|
376
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Inking.Analysis.IInkAnalysisNode> Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::get_Children()
|
|
377
|
+
@_property
|
|
378
|
+
@abstractmethod
|
|
379
|
+
def children(self) -> _cabc.Sequence[IInkAnalysisNode]: ...
|
|
380
|
+
# System.UInt32 Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::get_Id()
|
|
381
|
+
@_property
|
|
382
|
+
@abstractmethod
|
|
383
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
384
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::get_Kind()
|
|
385
|
+
@_property
|
|
386
|
+
@abstractmethod
|
|
387
|
+
def kind(self) -> InkAnalysisNodeKind: ...
|
|
388
|
+
# Windows.UI.Input.Inking.Analysis.IInkAnalysisNode Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::get_Parent()
|
|
389
|
+
@_property
|
|
390
|
+
@abstractmethod
|
|
391
|
+
def parent(self) -> IInkAnalysisNode: ...
|
|
392
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Point> Windows.UI.Input.Inking.Analysis.IInkAnalysisNode::get_RotatedBoundingRect()
|
|
393
|
+
@_property
|
|
394
|
+
@abstractmethod
|
|
395
|
+
def rotated_bounding_rect(self) -> _cabc.Sequence[windows_foundation.Point]: ...
|
|
396
|
+
|
|
397
|
+
class IInkAnalyzerFactory(winrt.system.Object):
|
|
398
|
+
# Windows.UI.Input.Inking.Analysis.InkAnalyzer Windows.UI.Input.Inking.Analysis.IInkAnalyzerFactory::CreateAnalyzer()
|
|
399
|
+
@abstractmethod
|
|
400
|
+
def create_analyzer(self) -> InkAnalyzer: ...
|
|
401
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.UI.Input.Inking.Analysis
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.UI.Input.Inking.Analysis namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Provides-Extra: all
|
|
26
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-ui-input-inking[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
32
|
+
|
|
33
|
+
# winrt-Windows.UI.Input.Inking.Analysis
|
|
34
|
+
|
|
35
|
+
Windows Runtime (WinRT) APIs for the `Windows.UI.Input.Inking.Analysis` namespace.
|
|
36
|
+
|
|
37
|
+
This package provides the `winrt.windows.ui.input.inking.analysis` module.
|
|
38
|
+
|
|
39
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
40
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
pip install winrt-Windows.UI.Input.Inking.Analysis
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
47
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/ui/input/inking/analysis/__init__.py,sha256=XcLXlGYyAqlh9iV2Gjy6Gib798CAEOsNSPw9e4WWRic,639
|
|
2
|
+
winrt/windows/ui/input/inking/analysis/__init__.pyi,sha256=TnoSMy4SlzMewukCFRP27tNno7DypqgXtESRGvTHQcY,23335
|
|
3
|
+
winrt/windows/ui/input/inking/analysis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/ui/input/inking/analysis/_table.pywinrt,sha256=F5Z-zTn0nfor6PFwHjK1KNarU5n37H2oXIfBlP2MivQ,24232
|
|
5
|
+
winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/METADATA,sha256=aZsaN-XuX9ihacDFRMlCgUu8dcTSG8H9qCLF0cApfnY,2086
|
|
6
|
+
winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_ui_input_inking_analysis-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|