Skip to content

Commit 0db724a

Browse files
chore: sync from ark-apis eafdc31be3
Auto-generated SDK sync from ark-apis at eafdc31be37d5f7b88e93b8ec944e2ab76ea332d. Generated files are overwritten by the sync pipeline and should not be edited by hand. Sync-Source-Commit: f52932445b590ad3f1f06e9d1033b887b3e27d58 Ark-APIs-Commit: eafdc31be37d5f7b88e93b8ec944e2ab76ea332d Release-Version: 0.25.0
1 parent d12cc7b commit 0db724a

5 files changed

Lines changed: 19 additions & 3 deletions

File tree

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.24.0
1+
0.25.0

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "arkruntime"
7-
version = "0.24.0"
7+
version = "0.25.0"
88
description = "Ark runtime SDK for Python"
99
readme = "README.md"
1010
requires-python = ">=3.8"

‎src/arkruntime/types/images/text_line.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ class TextLine(BaseModel):
1919
"""
2020
Text-line bounds in base-image coordinates.
2121
"""
22+
unrotated_bounding_box: Optional[BoundingBox] = None
23+
"""
24+
Fitted text bounds before rotation, in base-image coordinates. Null when unavailable.
25+
"""
26+
rotation_angle: Optional[float] = None
27+
"""
28+
Signed text-axis rotation in degrees. Zero for horizontal text, null when unavailable.
29+
"""
2230
runs: Optional[List[TextRun]] = None
2331
"""
2432
Text segments with individual styles.

‎src/arkruntime/types/images/text_style.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ class TextStyle(BaseModel):
3030
strikethrough: Optional[bool] = None
3131
shadow: Optional[bool] = None
3232
translucent: Optional[bool] = None
33+
font_size: Optional[float] = None
34+
"""
35+
Estimated font size in pixels, fitted once per line and shared by its runs. Omitted when unavailable.
36+
"""
37+
letter_spacing: Optional[float] = None
38+
"""
39+
Estimated spacing between characters in pixels, fitted once per line and shared by its runs. Omitted when unavailable.
40+
"""

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)