fake-bpy-module 20240326__py3-none-any.whl → 20240329__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.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (117) hide show
  1. aud/__init__.pyi +34 -96
  2. bgl/__init__.pyi +1265 -2417
  3. bl_math/__init__.pyi +3 -14
  4. bl_operators/presets/__init__.pyi +167 -0
  5. bl_operators/view3d/__init__.pyi +248 -0
  6. bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
  7. blf/__init__.pyi +13 -50
  8. bmesh/ops/__init__.pyi +68 -142
  9. bmesh/types/__init__.pyi +18 -44
  10. bmesh/utils/__init__.pyi +2 -6
  11. bpy/app/icons/__init__.pyi +2 -4
  12. bpy/app/timers/__init__.pyi +2 -6
  13. bpy/ops/action/__init__.pyi +92 -93
  14. bpy/ops/anim/__init__.pyi +104 -104
  15. bpy/ops/armature/__init__.pyi +108 -112
  16. bpy/ops/asset/__init__.pyi +32 -32
  17. bpy/ops/boid/__init__.pyi +18 -18
  18. bpy/ops/brush/__init__.pyi +18 -18
  19. bpy/ops/buttons/__init__.pyi +12 -12
  20. bpy/ops/cachefile/__init__.pyi +10 -10
  21. bpy/ops/camera/__init__.pyi +4 -4
  22. bpy/ops/clip/__init__.pyi +194 -195
  23. bpy/ops/cloth/__init__.pyi +2 -2
  24. bpy/ops/collection/__init__.pyi +10 -10
  25. bpy/ops/console/__init__.pyi +42 -42
  26. bpy/ops/constraint/__init__.pyi +36 -36
  27. bpy/ops/curve/__init__.pyi +114 -118
  28. bpy/ops/curves/__init__.pyi +55 -53
  29. bpy/ops/cycles/__init__.pyi +6 -6
  30. bpy/ops/dpaint/__init__.pyi +12 -12
  31. bpy/ops/ed/__init__.pyi +24 -24
  32. bpy/ops/export_anim/__init__.pyi +2 -2
  33. bpy/ops/export_mesh/__init__.pyi +2 -2
  34. bpy/ops/export_scene/__init__.pyi +7 -7
  35. bpy/ops/file/__init__.pyi +80 -83
  36. bpy/ops/fluid/__init__.pyi +28 -28
  37. bpy/ops/font/__init__.pyi +46 -46
  38. bpy/ops/geometry/__init__.pyi +38 -38
  39. bpy/ops/gizmogroup/__init__.pyi +4 -4
  40. bpy/ops/gpencil/__init__.pyi +308 -309
  41. bpy/ops/graph/__init__.pyi +150 -151
  42. bpy/ops/grease_pencil/__init__.pyi +114 -115
  43. bpy/ops/image/__init__.pyi +100 -100
  44. bpy/ops/import_anim/__init__.pyi +2 -2
  45. bpy/ops/import_curve/__init__.pyi +2 -2
  46. bpy/ops/import_mesh/__init__.pyi +2 -2
  47. bpy/ops/import_scene/__init__.pyi +6 -6
  48. bpy/ops/info/__init__.pyi +14 -14
  49. bpy/ops/lattice/__init__.pyi +16 -16
  50. bpy/ops/marker/__init__.pyi +22 -22
  51. bpy/ops/mask/__init__.pyi +90 -91
  52. bpy/ops/material/__init__.pyi +6 -6
  53. bpy/ops/mball/__init__.pyi +20 -21
  54. bpy/ops/mesh/__init__.pyi +429 -427
  55. bpy/ops/nla/__init__.pyi +90 -91
  56. bpy/ops/node/__init__.pyi +242 -243
  57. bpy/ops/object/__init__.pyi +572 -567
  58. bpy/ops/outliner/__init__.pyi +142 -142
  59. bpy/ops/paint/__init__.pyi +182 -126
  60. bpy/ops/paintcurve/__init__.pyi +20 -20
  61. bpy/ops/palette/__init__.pyi +14 -14
  62. bpy/ops/particle/__init__.pyi +72 -72
  63. bpy/ops/pose/__init__.pyi +90 -90
  64. bpy/ops/poselib/__init__.pyi +18 -18
  65. bpy/ops/preferences/__init__.pyi +76 -76
  66. bpy/ops/ptcache/__init__.pyi +14 -14
  67. bpy/ops/render/__init__.pyi +24 -24
  68. bpy/ops/rigidbody/__init__.pyi +34 -34
  69. bpy/ops/scene/__init__.pyi +86 -86
  70. bpy/ops/screen/__init__.pyi +84 -84
  71. bpy/ops/script/__init__.pyi +6 -6
  72. bpy/ops/sculpt/__init__.pyi +80 -62
  73. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  74. bpy/ops/sequencer/__init__.pyi +184 -185
  75. bpy/ops/sound/__init__.pyi +16 -16
  76. bpy/ops/spreadsheet/__init__.pyi +8 -8
  77. bpy/ops/surface/__init__.pyi +12 -12
  78. bpy/ops/text/__init__.pyi +86 -86
  79. bpy/ops/text_editor/__init__.pyi +2 -2
  80. bpy/ops/texture/__init__.pyi +8 -8
  81. bpy/ops/transform/__init__.pyi +112 -112
  82. bpy/ops/ui/__init__.pyi +64 -64
  83. bpy/ops/uilist/__init__.pyi +6 -6
  84. bpy/ops/uv/__init__.pyi +104 -105
  85. bpy/ops/view2d/__init__.pyi +28 -28
  86. bpy/ops/view3d/__init__.pyi +134 -134
  87. bpy/ops/wm/__init__.pyi +253 -230
  88. bpy/ops/workspace/__init__.pyi +14 -14
  89. bpy/ops/world/__init__.pyi +2 -2
  90. bpy/props/__init__.pyi +29 -52
  91. bpy/types/__init__.pyi +4648 -3095
  92. bpy/utils/__init__.pyi +3 -6
  93. bpy/utils/units/__init__.pyi +3 -6
  94. bpy_extras/io_utils/__init__.pyi +8 -0
  95. bpy_types/__init__.pyi +3 -0
  96. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
  97. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +117 -117
  98. freestyle/chainingiterators/__init__.pyi +5 -12
  99. freestyle/functions/__init__.pyi +19 -73
  100. freestyle/predicates/__init__.pyi +8 -21
  101. freestyle/shaders/__init__.pyi +32 -81
  102. freestyle/types/__init__.pyi +100 -270
  103. freestyle/utils/ContextFunctions/__init__.pyi +7 -27
  104. freestyle/utils/__init__.pyi +1 -2
  105. gpu/capabilities/__init__.pyi +15 -32
  106. gpu/matrix/__init__.pyi +1 -2
  107. gpu/state/__init__.pyi +4 -10
  108. gpu/types/__init__.pyi +29 -87
  109. gpu_extras/presets/__init__.pyi +4 -16
  110. imbuf/types/__init__.pyi +4 -10
  111. mathutils/__init__.pyi +106 -257
  112. mathutils/bvhtree/__init__.pyi +7 -15
  113. mathutils/geometry/__init__.pyi +9 -18
  114. mathutils/kdtree/__init__.pyi +4 -11
  115. mathutils/noise/__init__.pyi +41 -82
  116. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
  117. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
bl_math/__init__.pyi CHANGED
@@ -2,47 +2,36 @@ import typing
2
2
 
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
- def clamp(value: float, min: float = 0, max: float = 1) -> float:
5
+ def clamp(value, min=0, max=1):
6
6
  """Clamps the float value between minimum and maximum. To avoid
7
7
  confusion, any call must use either one or all three arguments.
8
8
 
9
9
  :param value: The value to clamp.
10
- :type value: float
11
10
  :param min: The minimum value, defaults to 0.
12
- :type min: float
13
11
  :param max: The maximum value, defaults to 1.
14
- :type max: float
15
12
  :return: The clamped value.
16
- :rtype: float
17
13
  """
18
14
 
19
15
  ...
20
16
 
21
- def lerp(from_value: float, to_value: float, factor: float) -> float:
17
+ def lerp(from_value, to_value, factor):
22
18
  """Linearly interpolate between two float values based on factor.
23
19
 
24
20
  :param from_value: The value to return when factor is 0.
25
- :type from_value: float
26
21
  :param to_value: The value to return when factor is 1.
27
- :type to_value: float
28
22
  :param factor: The interpolation value, normally in [0.0, 1.0].
29
- :type factor: float
30
23
  :return: The interpolated value.
31
- :rtype: float
32
24
  """
33
25
 
34
26
  ...
35
27
 
36
- def smoothstep(from_value: float, to_value: float, value) -> float:
28
+ def smoothstep(from_value, to_value, value):
37
29
  """Performs smooth interpolation between 0 and 1 as value changes between from and to values.
38
30
  Outside the range the function returns the same value as the nearest edge.
39
31
 
40
32
  :param from_value: The edge value where the result is 0.
41
- :type from_value: float
42
33
  :param to_value: The edge value where the result is 1.
43
- :type to_value: float
44
34
  :return: The interpolated value in [0.0, 1.0].
45
- :rtype: float
46
35
  """
47
36
 
48
37
  ...
@@ -3340,6 +3340,173 @@ class RemovePresetKeyconfig(bpy_types.Operator):
3340
3340
  """ """
3341
3341
  ...
3342
3342
 
3343
+ class SavePresetInterfaceTheme(bpy_types.Operator):
3344
+ """ """
3345
+
3346
+ bl_idname: typing.Any
3347
+ """ """
3348
+
3349
+ bl_label: typing.Any
3350
+ """ """
3351
+
3352
+ bl_options: typing.Any
3353
+ """ """
3354
+
3355
+ bl_rna: typing.Any
3356
+ """ """
3357
+
3358
+ id_data: typing.Any
3359
+ """ """
3360
+
3361
+ preset_menu: typing.Any
3362
+ """ """
3363
+
3364
+ preset_subdir: typing.Any
3365
+ """ """
3366
+
3367
+ def as_filename(self, name):
3368
+ """
3369
+
3370
+ :param name:
3371
+ """
3372
+ ...
3373
+
3374
+ def as_keywords(self, ignore):
3375
+ """
3376
+
3377
+ :param ignore:
3378
+ """
3379
+ ...
3380
+
3381
+ def as_pointer(self):
3382
+ """ """
3383
+ ...
3384
+
3385
+ def bl_rna_get_subclass(self):
3386
+ """ """
3387
+ ...
3388
+
3389
+ def bl_rna_get_subclass_py(self):
3390
+ """ """
3391
+ ...
3392
+
3393
+ def check(self, _context):
3394
+ """
3395
+
3396
+ :param _context:
3397
+ """
3398
+ ...
3399
+
3400
+ def driver_add(self):
3401
+ """ """
3402
+ ...
3403
+
3404
+ def driver_remove(self):
3405
+ """ """
3406
+ ...
3407
+
3408
+ def execute(self, context):
3409
+ """
3410
+
3411
+ :param context:
3412
+ """
3413
+ ...
3414
+
3415
+ def get(self):
3416
+ """ """
3417
+ ...
3418
+
3419
+ def id_properties_clear(self):
3420
+ """ """
3421
+ ...
3422
+
3423
+ def id_properties_ensure(self):
3424
+ """ """
3425
+ ...
3426
+
3427
+ def id_properties_ui(self):
3428
+ """ """
3429
+ ...
3430
+
3431
+ def invoke(self, context, event):
3432
+ """
3433
+
3434
+ :param context:
3435
+ :param event:
3436
+ """
3437
+ ...
3438
+
3439
+ def is_property_hidden(self):
3440
+ """ """
3441
+ ...
3442
+
3443
+ def is_property_overridable_library(self):
3444
+ """ """
3445
+ ...
3446
+
3447
+ def is_property_readonly(self):
3448
+ """ """
3449
+ ...
3450
+
3451
+ def is_property_set(self):
3452
+ """ """
3453
+ ...
3454
+
3455
+ def items(self):
3456
+ """ """
3457
+ ...
3458
+
3459
+ def keyframe_delete(self):
3460
+ """ """
3461
+ ...
3462
+
3463
+ def keyframe_insert(self):
3464
+ """ """
3465
+ ...
3466
+
3467
+ def keys(self):
3468
+ """ """
3469
+ ...
3470
+
3471
+ def path_from_id(self):
3472
+ """ """
3473
+ ...
3474
+
3475
+ def path_resolve(self):
3476
+ """ """
3477
+ ...
3478
+
3479
+ def poll(self, context):
3480
+ """
3481
+
3482
+ :param context:
3483
+ """
3484
+ ...
3485
+
3486
+ def poll_message_set(self):
3487
+ """ """
3488
+ ...
3489
+
3490
+ def pop(self):
3491
+ """ """
3492
+ ...
3493
+
3494
+ def property_overridable_library_set(self):
3495
+ """ """
3496
+ ...
3497
+
3498
+ def property_unset(self):
3499
+ """ """
3500
+ ...
3501
+
3502
+ def type_recast(self):
3503
+ """ """
3504
+ ...
3505
+
3506
+ def values(self):
3507
+ """ """
3508
+ ...
3509
+
3343
3510
  class WM_MT_operator_presets(bpy_types._GenericUI):
3344
3511
  """ """
3345
3512
 
@@ -3,6 +3,254 @@ import bpy_types
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
+ class VIEW3D_FH_camera_background_image(bpy_types.FileHandler):
7
+ """ """
8
+
9
+ bl_file_extensions: typing.Any
10
+ """ """
11
+
12
+ bl_idname: typing.Any
13
+ """ """
14
+
15
+ bl_import_operator: typing.Any
16
+ """ """
17
+
18
+ bl_label: typing.Any
19
+ """ """
20
+
21
+ bl_rna: typing.Any
22
+ """ """
23
+
24
+ id_data: typing.Any
25
+ """ """
26
+
27
+ def as_pointer(self):
28
+ """ """
29
+ ...
30
+
31
+ def bl_rna_get_subclass(self):
32
+ """ """
33
+ ...
34
+
35
+ def bl_rna_get_subclass_py(self):
36
+ """ """
37
+ ...
38
+
39
+ def driver_add(self):
40
+ """ """
41
+ ...
42
+
43
+ def driver_remove(self):
44
+ """ """
45
+ ...
46
+
47
+ def get(self):
48
+ """ """
49
+ ...
50
+
51
+ def id_properties_clear(self):
52
+ """ """
53
+ ...
54
+
55
+ def id_properties_ensure(self):
56
+ """ """
57
+ ...
58
+
59
+ def id_properties_ui(self):
60
+ """ """
61
+ ...
62
+
63
+ def is_property_hidden(self):
64
+ """ """
65
+ ...
66
+
67
+ def is_property_overridable_library(self):
68
+ """ """
69
+ ...
70
+
71
+ def is_property_readonly(self):
72
+ """ """
73
+ ...
74
+
75
+ def is_property_set(self):
76
+ """ """
77
+ ...
78
+
79
+ def items(self):
80
+ """ """
81
+ ...
82
+
83
+ def keyframe_delete(self):
84
+ """ """
85
+ ...
86
+
87
+ def keyframe_insert(self):
88
+ """ """
89
+ ...
90
+
91
+ def keys(self):
92
+ """ """
93
+ ...
94
+
95
+ def path_from_id(self):
96
+ """ """
97
+ ...
98
+
99
+ def path_resolve(self):
100
+ """ """
101
+ ...
102
+
103
+ def poll_drop(self, context):
104
+ """
105
+
106
+ :param context:
107
+ """
108
+ ...
109
+
110
+ def pop(self):
111
+ """ """
112
+ ...
113
+
114
+ def property_overridable_library_set(self):
115
+ """ """
116
+ ...
117
+
118
+ def property_unset(self):
119
+ """ """
120
+ ...
121
+
122
+ def type_recast(self):
123
+ """ """
124
+ ...
125
+
126
+ def values(self):
127
+ """ """
128
+ ...
129
+
130
+ class VIEW3D_FH_empty_image(bpy_types.FileHandler):
131
+ """ """
132
+
133
+ bl_file_extensions: typing.Any
134
+ """ """
135
+
136
+ bl_idname: typing.Any
137
+ """ """
138
+
139
+ bl_import_operator: typing.Any
140
+ """ """
141
+
142
+ bl_label: typing.Any
143
+ """ """
144
+
145
+ bl_rna: typing.Any
146
+ """ """
147
+
148
+ id_data: typing.Any
149
+ """ """
150
+
151
+ def as_pointer(self):
152
+ """ """
153
+ ...
154
+
155
+ def bl_rna_get_subclass(self):
156
+ """ """
157
+ ...
158
+
159
+ def bl_rna_get_subclass_py(self):
160
+ """ """
161
+ ...
162
+
163
+ def driver_add(self):
164
+ """ """
165
+ ...
166
+
167
+ def driver_remove(self):
168
+ """ """
169
+ ...
170
+
171
+ def get(self):
172
+ """ """
173
+ ...
174
+
175
+ def id_properties_clear(self):
176
+ """ """
177
+ ...
178
+
179
+ def id_properties_ensure(self):
180
+ """ """
181
+ ...
182
+
183
+ def id_properties_ui(self):
184
+ """ """
185
+ ...
186
+
187
+ def is_property_hidden(self):
188
+ """ """
189
+ ...
190
+
191
+ def is_property_overridable_library(self):
192
+ """ """
193
+ ...
194
+
195
+ def is_property_readonly(self):
196
+ """ """
197
+ ...
198
+
199
+ def is_property_set(self):
200
+ """ """
201
+ ...
202
+
203
+ def items(self):
204
+ """ """
205
+ ...
206
+
207
+ def keyframe_delete(self):
208
+ """ """
209
+ ...
210
+
211
+ def keyframe_insert(self):
212
+ """ """
213
+ ...
214
+
215
+ def keys(self):
216
+ """ """
217
+ ...
218
+
219
+ def path_from_id(self):
220
+ """ """
221
+ ...
222
+
223
+ def path_resolve(self):
224
+ """ """
225
+ ...
226
+
227
+ def poll_drop(self, context):
228
+ """
229
+
230
+ :param context:
231
+ """
232
+ ...
233
+
234
+ def pop(self):
235
+ """ """
236
+ ...
237
+
238
+ def property_overridable_library_set(self):
239
+ """ """
240
+ ...
241
+
242
+ def property_unset(self):
243
+ """ """
244
+ ...
245
+
246
+ def type_recast(self):
247
+ """ """
248
+ ...
249
+
250
+ def values(self):
251
+ """ """
252
+ ...
253
+
6
254
  class VIEW3D_OT_edit_mesh_extrude_individual_move(bpy_types.Operator):
7
255
  """ """
8
256
 
@@ -1372,6 +1372,9 @@ class _defs_sculpt:
1372
1372
  hide_lasso: typing.Any
1373
1373
  """ """
1374
1374
 
1375
+ hide_line: typing.Any
1376
+ """ """
1377
+
1375
1378
  mask_border: typing.Any
1376
1379
  """ """
1377
1380
 
blf/__init__.pyi CHANGED
@@ -2,56 +2,43 @@ import typing
2
2
 
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
- def aspect(fontid: int, aspect: float):
5
+ def aspect(fontid, aspect):
6
6
  """Set the aspect for drawing text.
7
7
 
8
8
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
9
- :type fontid: int
10
9
  :param aspect: The aspect ratio for text drawing to use.
11
- :type aspect: float
12
10
  """
13
11
 
14
12
  ...
15
13
 
16
- def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float):
14
+ def clipping(fontid, xmin, ymin, xmax, ymax):
17
15
  """Set the clipping, enable/disable using CLIPPING.
18
16
 
19
17
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
20
- :type fontid: int
21
18
  :param xmin: Clip the drawing area by these bounds.
22
- :type xmin: float
23
19
  :param ymin: Clip the drawing area by these bounds.
24
- :type ymin: float
25
20
  :param xmax: Clip the drawing area by these bounds.
26
- :type xmax: float
27
21
  :param ymax: Clip the drawing area by these bounds.
28
- :type ymax: float
29
22
  """
30
23
 
31
24
  ...
32
25
 
33
- def color(fontid: int, r: float, g: float, b: float, a: float):
26
+ def color(fontid, r, g, b, a):
34
27
  """Set the color for drawing text.
35
28
 
36
29
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
37
- :type fontid: int
38
30
  :param r: red channel 0.0 - 1.0.
39
- :type r: float
40
31
  :param g: green channel 0.0 - 1.0.
41
- :type g: float
42
32
  :param b: blue channel 0.0 - 1.0.
43
- :type b: float
44
33
  :param a: alpha channel 0.0 - 1.0.
45
- :type a: float
46
34
  """
47
35
 
48
36
  ...
49
37
 
50
- def dimensions(fontid: int, text: str):
38
+ def dimensions(fontid, text: str):
51
39
  """Return the width and height of the text.
52
40
 
53
41
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
54
- :type fontid: int
55
42
  :param text: the text to draw.
56
43
  :type text: str
57
44
  :return: the width and height of the text.
@@ -59,35 +46,30 @@ def dimensions(fontid: int, text: str):
59
46
 
60
47
  ...
61
48
 
62
- def disable(fontid: int, option: int):
49
+ def disable(fontid, option):
63
50
  """Disable option.
64
51
 
65
52
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
66
- :type fontid: int
67
53
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
68
- :type option: int
69
54
  """
70
55
 
71
56
  ...
72
57
 
73
- def draw(fontid: int, text: str):
58
+ def draw(fontid, text: str):
74
59
  """Draw text in the current context.
75
60
 
76
61
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
77
- :type fontid: int
78
62
  :param text: the text to draw.
79
63
  :type text: str
80
64
  """
81
65
 
82
66
  ...
83
67
 
84
- def enable(fontid: int, option: int):
68
+ def enable(fontid, option):
85
69
  """Enable option.
86
70
 
87
71
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
88
- :type fontid: int
89
72
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
90
- :type option: int
91
73
  """
92
74
 
93
75
  ...
@@ -102,71 +84,54 @@ def load(filepath: typing.Union[str, bytes]):
102
84
 
103
85
  ...
104
86
 
105
- def position(fontid: int, x: float, y: float, z: float):
87
+ def position(fontid, x, y, z):
106
88
  """Set the position for drawing text.
107
89
 
108
90
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
109
- :type fontid: int
110
91
  :param x: X axis position to draw the text.
111
- :type x: float
112
92
  :param y: Y axis position to draw the text.
113
- :type y: float
114
93
  :param z: Z axis position to draw the text.
115
- :type z: float
116
94
  """
117
95
 
118
96
  ...
119
97
 
120
- def rotation(fontid: int, angle: float):
98
+ def rotation(fontid, angle):
121
99
  """Set the text rotation angle, enable/disable using ROTATION.
122
100
 
123
101
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
124
- :type fontid: int
125
102
  :param angle: The angle for text drawing to use.
126
- :type angle: float
127
103
  """
128
104
 
129
105
  ...
130
106
 
131
- def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float):
107
+ def shadow(fontid, level, r, g, b, a):
132
108
  """Shadow options, enable/disable using SHADOW .
133
109
 
134
110
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
135
- :type fontid: int
136
111
  :param level: The blur level, can be 3, 5 or 0.
137
- :type level: int
138
112
  :param r: Shadow color (red channel 0.0 - 1.0).
139
- :type r: float
140
113
  :param g: Shadow color (green channel 0.0 - 1.0).
141
- :type g: float
142
114
  :param b: Shadow color (blue channel 0.0 - 1.0).
143
- :type b: float
144
115
  :param a: Shadow color (alpha channel 0.0 - 1.0).
145
- :type a: float
146
116
  """
147
117
 
148
118
  ...
149
119
 
150
- def shadow_offset(fontid: int, x: float, y: float):
120
+ def shadow_offset(fontid, x, y):
151
121
  """Set the offset for shadow text.
152
122
 
153
123
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
154
- :type fontid: int
155
124
  :param x: Vertical shadow offset value in pixels.
156
- :type x: float
157
125
  :param y: Horizontal shadow offset value in pixels.
158
- :type y: float
159
126
  """
160
127
 
161
128
  ...
162
129
 
163
- def size(fontid: int, size: float):
130
+ def size(fontid, size):
164
131
  """Set the size for drawing text.
165
132
 
166
133
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
167
- :type fontid: int
168
134
  :param size: Point size of the font.
169
- :type size: float
170
135
  """
171
136
 
172
137
  ...
@@ -180,13 +145,11 @@ def unload(filepath: typing.Union[str, bytes]):
180
145
 
181
146
  ...
182
147
 
183
- def word_wrap(fontid: int, wrap_width: int):
148
+ def word_wrap(fontid, wrap_width):
184
149
  """Set the wrap width, enable/disable using WORD_WRAP.
185
150
 
186
151
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
187
- :type fontid: int
188
152
  :param wrap_width: The width (in pixels) to wrap words at.
189
- :type wrap_width: int
190
153
  """
191
154
 
192
155
  ...