fake-bpy-module 20240417__py3-none-any.whl → 20240419__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 (139) hide show
  1. _bpy_internal/__init__.pyi +4 -0
  2. _bpy_internal/freedesktop/__init__.pyi +88 -0
  3. _bpy_internal/freedesktop/py.typed +0 -0
  4. _bpy_internal/py.typed +0 -0
  5. aud/__init__.pyi +121 -48
  6. bgl/__init__.pyi +2443 -1265
  7. bl_math/__init__.pyi +19 -3
  8. bl_operators/geometry_nodes/__init__.pyi +13 -0
  9. bl_ui/properties_data_light/__init__.pyi +337 -0
  10. blf/__init__.pyi +63 -13
  11. bmesh/__init__.pyi +13 -0
  12. bmesh/geometry/__init__.pyi +5 -0
  13. bmesh/ops/__init__.pyi +157 -68
  14. bmesh/types/__init__.pyi +109 -62
  15. bmesh/utils/__init__.pyi +11 -2
  16. bpy/__init__.pyi +7 -0
  17. bpy/app/__init__.pyi +13 -0
  18. bpy/app/handlers/__init__.pyi +41 -0
  19. bpy/app/icons/__init__.pyi +4 -2
  20. bpy/app/timers/__init__.pyi +38 -2
  21. bpy/app/translations/__init__.pyi +58 -0
  22. bpy/msgbus/__init__.pyi +46 -0
  23. bpy/ops/__init__.pyi +151 -0
  24. bpy/ops/action/__init__.pyi +76 -76
  25. bpy/ops/anim/__init__.pyi +104 -104
  26. bpy/ops/armature/__init__.pyi +96 -96
  27. bpy/ops/asset/__init__.pyi +32 -32
  28. bpy/ops/boid/__init__.pyi +16 -16
  29. bpy/ops/brush/__init__.pyi +18 -18
  30. bpy/ops/buttons/__init__.pyi +12 -12
  31. bpy/ops/cachefile/__init__.pyi +10 -10
  32. bpy/ops/camera/__init__.pyi +4 -4
  33. bpy/ops/clip/__init__.pyi +184 -184
  34. bpy/ops/cloth/__init__.pyi +2 -2
  35. bpy/ops/collection/__init__.pyi +18 -18
  36. bpy/ops/console/__init__.pyi +42 -42
  37. bpy/ops/constraint/__init__.pyi +36 -36
  38. bpy/ops/curve/__init__.pyi +102 -102
  39. bpy/ops/curves/__init__.pyi +54 -54
  40. bpy/ops/cycles/__init__.pyi +6 -6
  41. bpy/ops/dpaint/__init__.pyi +10 -10
  42. bpy/ops/ed/__init__.pyi +24 -24
  43. bpy/ops/export_anim/__init__.pyi +2 -2
  44. bpy/ops/export_mesh/__init__.pyi +2 -2
  45. bpy/ops/export_scene/__init__.pyi +7 -7
  46. bpy/ops/file/__init__.pyi +80 -80
  47. bpy/ops/fluid/__init__.pyi +28 -28
  48. bpy/ops/font/__init__.pyi +46 -46
  49. bpy/ops/geometry/__init__.pyi +20 -20
  50. bpy/ops/gizmogroup/__init__.pyi +4 -4
  51. bpy/ops/gpencil/__init__.pyi +300 -300
  52. bpy/ops/graph/__init__.pyi +130 -130
  53. bpy/ops/grease_pencil/__init__.pyi +112 -112
  54. bpy/ops/image/__init__.pyi +92 -92
  55. bpy/ops/import_anim/__init__.pyi +2 -2
  56. bpy/ops/import_curve/__init__.pyi +2 -2
  57. bpy/ops/import_mesh/__init__.pyi +2 -2
  58. bpy/ops/import_scene/__init__.pyi +6 -6
  59. bpy/ops/info/__init__.pyi +14 -14
  60. bpy/ops/lattice/__init__.pyi +16 -16
  61. bpy/ops/marker/__init__.pyi +22 -22
  62. bpy/ops/mask/__init__.pyi +78 -78
  63. bpy/ops/material/__init__.pyi +6 -6
  64. bpy/ops/mball/__init__.pyi +16 -16
  65. bpy/ops/mesh/__init__.pyi +326 -326
  66. bpy/ops/nla/__init__.pyi +80 -80
  67. bpy/ops/node/__init__.pyi +202 -202
  68. bpy/ops/object/__init__.pyi +509 -500
  69. bpy/ops/outliner/__init__.pyi +138 -138
  70. bpy/ops/paint/__init__.pyi +104 -104
  71. bpy/ops/paintcurve/__init__.pyi +16 -16
  72. bpy/ops/palette/__init__.pyi +14 -14
  73. bpy/ops/particle/__init__.pyi +72 -72
  74. bpy/ops/pose/__init__.pyi +78 -78
  75. bpy/ops/poselib/__init__.pyi +18 -18
  76. bpy/ops/preferences/__init__.pyi +76 -76
  77. bpy/ops/ptcache/__init__.pyi +14 -14
  78. bpy/ops/render/__init__.pyi +24 -24
  79. bpy/ops/rigidbody/__init__.pyi +26 -26
  80. bpy/ops/scene/__init__.pyi +78 -78
  81. bpy/ops/screen/__init__.pyi +78 -78
  82. bpy/ops/script/__init__.pyi +6 -6
  83. bpy/ops/sculpt/__init__.pyi +62 -62
  84. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  85. bpy/ops/sequencer/__init__.pyi +170 -170
  86. bpy/ops/sound/__init__.pyi +14 -14
  87. bpy/ops/spreadsheet/__init__.pyi +8 -8
  88. bpy/ops/surface/__init__.pyi +12 -12
  89. bpy/ops/text/__init__.pyi +86 -86
  90. bpy/ops/text_editor/__init__.pyi +2 -2
  91. bpy/ops/texture/__init__.pyi +8 -8
  92. bpy/ops/transform/__init__.pyi +54 -54
  93. bpy/ops/ui/__init__.pyi +64 -64
  94. bpy/ops/uilist/__init__.pyi +6 -6
  95. bpy/ops/uv/__init__.pyi +98 -98
  96. bpy/ops/view2d/__init__.pyi +28 -28
  97. bpy/ops/view3d/__init__.pyi +134 -134
  98. bpy/ops/wm/__init__.pyi +224 -224
  99. bpy/ops/workspace/__init__.pyi +14 -14
  100. bpy/ops/world/__init__.pyi +2 -2
  101. bpy/path/__init__.pyi +6 -0
  102. bpy/props/__init__.pyi +141 -29
  103. bpy/types/__init__.pyi +101517 -5027
  104. bpy/utils/__init__.pyi +18 -3
  105. bpy/utils/previews/__init__.pyi +15 -0
  106. bpy/utils/units/__init__.pyi +11 -3
  107. bpy_extras/__init__.pyi +19 -0
  108. bpy_extras/asset_utils/__init__.pyi +5 -0
  109. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/METADATA +1 -1
  110. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/RECORD +139 -135
  111. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/top_level.txt +1 -0
  112. freestyle/__init__.pyi +18 -0
  113. freestyle/chainingiterators/__init__.pyi +20 -5
  114. freestyle/functions/__init__.pyi +151 -155
  115. freestyle/predicates/__init__.pyi +53 -46
  116. freestyle/shaders/__init__.pyi +91 -32
  117. freestyle/types/__init__.pyi +362 -120
  118. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  119. freestyle/utils/__init__.pyi +13 -1
  120. gpu/__init__.pyi +225 -0
  121. gpu/capabilities/__init__.pyi +37 -15
  122. gpu/matrix/__init__.pyi +7 -1
  123. gpu/platform/__init__.pyi +5 -0
  124. gpu/select/__init__.pyi +5 -0
  125. gpu/shader/__init__.pyi +77 -0
  126. gpu/state/__init__.pyi +15 -4
  127. gpu/texture/__init__.pyi +5 -0
  128. gpu/types/__init__.pyi +91 -33
  129. gpu_extras/__init__.pyi +15 -0
  130. gpu_extras/presets/__init__.pyi +16 -4
  131. imbuf/__init__.pyi +13 -0
  132. imbuf/types/__init__.pyi +20 -5
  133. mathutils/__init__.pyi +349 -227
  134. mathutils/bvhtree/__init__.pyi +21 -8
  135. mathutils/geometry/__init__.pyi +23 -9
  136. mathutils/interpolate/__init__.pyi +5 -0
  137. mathutils/kdtree/__init__.pyi +19 -5
  138. mathutils/noise/__init__.pyi +87 -41
  139. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/WHEEL +0 -0
bl_math/__init__.pyi CHANGED
@@ -1,37 +1,53 @@
1
+ """
2
+ Miscellaneous math utilities module
3
+
4
+ """
5
+
1
6
  import typing
2
7
 
3
8
  GenericType = typing.TypeVar("GenericType")
4
9
 
5
- def clamp(value, min=0, max=1):
10
+ def clamp(value: float, min: float = 0, max: float = 1) -> float:
6
11
  """Clamps the float value between minimum and maximum. To avoid
7
12
  confusion, any call must use either one or all three arguments.
8
13
 
9
14
  :param value: The value to clamp.
15
+ :type value: float
10
16
  :param min: The minimum value, defaults to 0.
17
+ :type min: float
11
18
  :param max: The maximum value, defaults to 1.
19
+ :type max: float
12
20
  :return: The clamped value.
21
+ :rtype: float
13
22
  """
14
23
 
15
24
  ...
16
25
 
17
- def lerp(from_value, to_value, factor):
26
+ def lerp(from_value: float, to_value: float, factor: float) -> float:
18
27
  """Linearly interpolate between two float values based on factor.
19
28
 
20
29
  :param from_value: The value to return when factor is 0.
30
+ :type from_value: float
21
31
  :param to_value: The value to return when factor is 1.
32
+ :type to_value: float
22
33
  :param factor: The interpolation value, normally in [0.0, 1.0].
34
+ :type factor: float
23
35
  :return: The interpolated value.
36
+ :rtype: float
24
37
  """
25
38
 
26
39
  ...
27
40
 
28
- def smoothstep(from_value, to_value, value):
41
+ def smoothstep(from_value: float, to_value: float, value) -> float:
29
42
  """Performs smooth interpolation between 0 and 1 as value changes between from and to values.
30
43
  Outside the range the function returns the same value as the nearest edge.
31
44
 
32
45
  :param from_value: The edge value where the result is 0.
46
+ :type from_value: float
33
47
  :param to_value: The edge value where the result is 1.
48
+ :type to_value: float
34
49
  :return: The interpolated value in [0.0, 1.0].
50
+ :rtype: float
35
51
  """
36
52
 
37
53
  ...
@@ -834,6 +834,14 @@ class MoveModifierToNodes(bpy_types.Operator):
834
834
  """ """
835
835
  ...
836
836
 
837
+ def invoke(self, context, event):
838
+ """
839
+
840
+ :param context:
841
+ :param event:
842
+ """
843
+ ...
844
+
837
845
  def is_property_hidden(self):
838
846
  """ """
839
847
  ...
@@ -2433,6 +2441,11 @@ def add_empty_geometry_node_group(name):
2433
2441
 
2434
2442
  ...
2435
2443
 
2444
+ def create_wrapper_group(modifier, old_group):
2445
+ """ """
2446
+
2447
+ ...
2448
+
2436
2449
  def edit_geometry_nodes_modifier_poll(context):
2437
2450
  """ """
2438
2451
 
@@ -334,6 +334,343 @@ class DATA_PT_EEVEE_light_distance(bpy_types._GenericUI):
334
334
  """ """
335
335
  ...
336
336
 
337
+ class DATA_PT_EEVEE_light_influence(bpy_types._GenericUI):
338
+ """ """
339
+
340
+ COMPAT_ENGINES: typing.Any
341
+ """ """
342
+
343
+ bl_context: typing.Any
344
+ """ """
345
+
346
+ bl_label: typing.Any
347
+ """ """
348
+
349
+ bl_options: typing.Any
350
+ """ """
351
+
352
+ bl_parent_id: typing.Any
353
+ """ """
354
+
355
+ bl_region_type: typing.Any
356
+ """ """
357
+
358
+ bl_rna: typing.Any
359
+ """ """
360
+
361
+ bl_space_type: typing.Any
362
+ """ """
363
+
364
+ id_data: typing.Any
365
+ """ """
366
+
367
+ def append(self, draw_func):
368
+ """
369
+
370
+ :param draw_func:
371
+ """
372
+ ...
373
+
374
+ def as_pointer(self):
375
+ """ """
376
+ ...
377
+
378
+ def bl_rna_get_subclass(self):
379
+ """ """
380
+ ...
381
+
382
+ def bl_rna_get_subclass_py(self):
383
+ """ """
384
+ ...
385
+
386
+ def draw(self, context):
387
+ """
388
+
389
+ :param context:
390
+ """
391
+ ...
392
+
393
+ def driver_add(self):
394
+ """ """
395
+ ...
396
+
397
+ def driver_remove(self):
398
+ """ """
399
+ ...
400
+
401
+ def get(self):
402
+ """ """
403
+ ...
404
+
405
+ def id_properties_clear(self):
406
+ """ """
407
+ ...
408
+
409
+ def id_properties_ensure(self):
410
+ """ """
411
+ ...
412
+
413
+ def id_properties_ui(self):
414
+ """ """
415
+ ...
416
+
417
+ def is_extended(self):
418
+ """ """
419
+ ...
420
+
421
+ def is_property_hidden(self):
422
+ """ """
423
+ ...
424
+
425
+ def is_property_overridable_library(self):
426
+ """ """
427
+ ...
428
+
429
+ def is_property_readonly(self):
430
+ """ """
431
+ ...
432
+
433
+ def is_property_set(self):
434
+ """ """
435
+ ...
436
+
437
+ def items(self):
438
+ """ """
439
+ ...
440
+
441
+ def keyframe_delete(self):
442
+ """ """
443
+ ...
444
+
445
+ def keyframe_insert(self):
446
+ """ """
447
+ ...
448
+
449
+ def keys(self):
450
+ """ """
451
+ ...
452
+
453
+ def path_from_id(self):
454
+ """ """
455
+ ...
456
+
457
+ def path_resolve(self):
458
+ """ """
459
+ ...
460
+
461
+ def poll(self, context):
462
+ """
463
+
464
+ :param context:
465
+ """
466
+ ...
467
+
468
+ def pop(self):
469
+ """ """
470
+ ...
471
+
472
+ def prepend(self, draw_func):
473
+ """
474
+
475
+ :param draw_func:
476
+ """
477
+ ...
478
+
479
+ def property_overridable_library_set(self):
480
+ """ """
481
+ ...
482
+
483
+ def property_unset(self):
484
+ """ """
485
+ ...
486
+
487
+ def remove(self, draw_func):
488
+ """
489
+
490
+ :param draw_func:
491
+ """
492
+ ...
493
+
494
+ def type_recast(self):
495
+ """ """
496
+ ...
497
+
498
+ def values(self):
499
+ """ """
500
+ ...
501
+
502
+ class DATA_PT_EEVEE_light_shadow(bpy_types._GenericUI):
503
+ """ """
504
+
505
+ COMPAT_ENGINES: typing.Any
506
+ """ """
507
+
508
+ bl_context: typing.Any
509
+ """ """
510
+
511
+ bl_label: typing.Any
512
+ """ """
513
+
514
+ bl_options: typing.Any
515
+ """ """
516
+
517
+ bl_parent_id: typing.Any
518
+ """ """
519
+
520
+ bl_region_type: typing.Any
521
+ """ """
522
+
523
+ bl_rna: typing.Any
524
+ """ """
525
+
526
+ bl_space_type: typing.Any
527
+ """ """
528
+
529
+ id_data: typing.Any
530
+ """ """
531
+
532
+ def append(self, draw_func):
533
+ """
534
+
535
+ :param draw_func:
536
+ """
537
+ ...
538
+
539
+ def as_pointer(self):
540
+ """ """
541
+ ...
542
+
543
+ def bl_rna_get_subclass(self):
544
+ """ """
545
+ ...
546
+
547
+ def bl_rna_get_subclass_py(self):
548
+ """ """
549
+ ...
550
+
551
+ def draw(self, context):
552
+ """
553
+
554
+ :param context:
555
+ """
556
+ ...
557
+
558
+ def draw_header(self, context):
559
+ """
560
+
561
+ :param context:
562
+ """
563
+ ...
564
+
565
+ def driver_add(self):
566
+ """ """
567
+ ...
568
+
569
+ def driver_remove(self):
570
+ """ """
571
+ ...
572
+
573
+ def get(self):
574
+ """ """
575
+ ...
576
+
577
+ def id_properties_clear(self):
578
+ """ """
579
+ ...
580
+
581
+ def id_properties_ensure(self):
582
+ """ """
583
+ ...
584
+
585
+ def id_properties_ui(self):
586
+ """ """
587
+ ...
588
+
589
+ def is_extended(self):
590
+ """ """
591
+ ...
592
+
593
+ def is_property_hidden(self):
594
+ """ """
595
+ ...
596
+
597
+ def is_property_overridable_library(self):
598
+ """ """
599
+ ...
600
+
601
+ def is_property_readonly(self):
602
+ """ """
603
+ ...
604
+
605
+ def is_property_set(self):
606
+ """ """
607
+ ...
608
+
609
+ def items(self):
610
+ """ """
611
+ ...
612
+
613
+ def keyframe_delete(self):
614
+ """ """
615
+ ...
616
+
617
+ def keyframe_insert(self):
618
+ """ """
619
+ ...
620
+
621
+ def keys(self):
622
+ """ """
623
+ ...
624
+
625
+ def path_from_id(self):
626
+ """ """
627
+ ...
628
+
629
+ def path_resolve(self):
630
+ """ """
631
+ ...
632
+
633
+ def poll(self, context):
634
+ """
635
+
636
+ :param context:
637
+ """
638
+ ...
639
+
640
+ def pop(self):
641
+ """ """
642
+ ...
643
+
644
+ def prepend(self, draw_func):
645
+ """
646
+
647
+ :param draw_func:
648
+ """
649
+ ...
650
+
651
+ def property_overridable_library_set(self):
652
+ """ """
653
+ ...
654
+
655
+ def property_unset(self):
656
+ """ """
657
+ ...
658
+
659
+ def remove(self, draw_func):
660
+ """
661
+
662
+ :param draw_func:
663
+ """
664
+ ...
665
+
666
+ def type_recast(self):
667
+ """ """
668
+ ...
669
+
670
+ def values(self):
671
+ """ """
672
+ ...
673
+
337
674
  class DATA_PT_EEVEE_shadow(bpy_types._GenericUI):
338
675
  """ """
339
676
 
blf/__init__.pyi CHANGED
@@ -1,44 +1,70 @@
1
+ """
2
+ This module provides access to Blender's text drawing functions.
3
+
4
+
5
+ --------------------
6
+
7
+ Example of using the blf module. For this module to work we
8
+ need to use the OpenGL wrapper ~bgl as well.
9
+
10
+ ```../examples/blf.py```
11
+
12
+ """
13
+
1
14
  import typing
2
15
 
3
16
  GenericType = typing.TypeVar("GenericType")
4
17
 
5
- def aspect(fontid, aspect):
18
+ def aspect(fontid: int, aspect: float):
6
19
  """Set the aspect for drawing text.
7
20
 
8
21
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
22
+ :type fontid: int
9
23
  :param aspect: The aspect ratio for text drawing to use.
24
+ :type aspect: float
10
25
  """
11
26
 
12
27
  ...
13
28
 
14
- def clipping(fontid, xmin, ymin, xmax, ymax):
29
+ def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float):
15
30
  """Set the clipping, enable/disable using CLIPPING.
16
31
 
17
32
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
33
+ :type fontid: int
18
34
  :param xmin: Clip the drawing area by these bounds.
35
+ :type xmin: float
19
36
  :param ymin: Clip the drawing area by these bounds.
37
+ :type ymin: float
20
38
  :param xmax: Clip the drawing area by these bounds.
39
+ :type xmax: float
21
40
  :param ymax: Clip the drawing area by these bounds.
41
+ :type ymax: float
22
42
  """
23
43
 
24
44
  ...
25
45
 
26
- def color(fontid, r, g, b, a):
46
+ def color(fontid: int, r: float, g: float, b: float, a: float):
27
47
  """Set the color for drawing text.
28
48
 
29
49
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
50
+ :type fontid: int
30
51
  :param r: red channel 0.0 - 1.0.
52
+ :type r: float
31
53
  :param g: green channel 0.0 - 1.0.
54
+ :type g: float
32
55
  :param b: blue channel 0.0 - 1.0.
56
+ :type b: float
33
57
  :param a: alpha channel 0.0 - 1.0.
58
+ :type a: float
34
59
  """
35
60
 
36
61
  ...
37
62
 
38
- def dimensions(fontid, text: str):
63
+ def dimensions(fontid: int, text: str):
39
64
  """Return the width and height of the text.
40
65
 
41
66
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
67
+ :type fontid: int
42
68
  :param text: the text to draw.
43
69
  :type text: str
44
70
  :return: the width and height of the text.
@@ -46,30 +72,35 @@ def dimensions(fontid, text: str):
46
72
 
47
73
  ...
48
74
 
49
- def disable(fontid, option):
75
+ def disable(fontid: int, option: int):
50
76
  """Disable option.
51
77
 
52
78
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
79
+ :type fontid: int
53
80
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
81
+ :type option: int
54
82
  """
55
83
 
56
84
  ...
57
85
 
58
- def draw(fontid, text: str):
86
+ def draw(fontid: int, text: str):
59
87
  """Draw text in the current context.
60
88
 
61
89
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
90
+ :type fontid: int
62
91
  :param text: the text to draw.
63
92
  :type text: str
64
93
  """
65
94
 
66
95
  ...
67
96
 
68
- def enable(fontid, option):
97
+ def enable(fontid: int, option: int):
69
98
  """Enable option.
70
99
 
71
100
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
101
+ :type fontid: int
72
102
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
103
+ :type option: int
73
104
  """
74
105
 
75
106
  ...
@@ -84,54 +115,71 @@ def load(filepath: typing.Union[str, bytes]):
84
115
 
85
116
  ...
86
117
 
87
- def position(fontid, x, y, z):
118
+ def position(fontid: int, x: float, y: float, z: float):
88
119
  """Set the position for drawing text.
89
120
 
90
121
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
122
+ :type fontid: int
91
123
  :param x: X axis position to draw the text.
124
+ :type x: float
92
125
  :param y: Y axis position to draw the text.
126
+ :type y: float
93
127
  :param z: Z axis position to draw the text.
128
+ :type z: float
94
129
  """
95
130
 
96
131
  ...
97
132
 
98
- def rotation(fontid, angle):
133
+ def rotation(fontid: int, angle: float):
99
134
  """Set the text rotation angle, enable/disable using ROTATION.
100
135
 
101
136
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
137
+ :type fontid: int
102
138
  :param angle: The angle for text drawing to use.
139
+ :type angle: float
103
140
  """
104
141
 
105
142
  ...
106
143
 
107
- def shadow(fontid, level, r, g, b, a):
144
+ def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float):
108
145
  """Shadow options, enable/disable using SHADOW .
109
146
 
110
147
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
148
+ :type fontid: int
111
149
  :param level: The blur level, can be 3, 5 or 0.
150
+ :type level: int
112
151
  :param r: Shadow color (red channel 0.0 - 1.0).
152
+ :type r: float
113
153
  :param g: Shadow color (green channel 0.0 - 1.0).
154
+ :type g: float
114
155
  :param b: Shadow color (blue channel 0.0 - 1.0).
156
+ :type b: float
115
157
  :param a: Shadow color (alpha channel 0.0 - 1.0).
158
+ :type a: float
116
159
  """
117
160
 
118
161
  ...
119
162
 
120
- def shadow_offset(fontid, x, y):
163
+ def shadow_offset(fontid: int, x: float, y: float):
121
164
  """Set the offset for shadow text.
122
165
 
123
166
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
167
+ :type fontid: int
124
168
  :param x: Vertical shadow offset value in pixels.
169
+ :type x: float
125
170
  :param y: Horizontal shadow offset value in pixels.
171
+ :type y: float
126
172
  """
127
173
 
128
174
  ...
129
175
 
130
- def size(fontid, size):
176
+ def size(fontid: int, size: float):
131
177
  """Set the size for drawing text.
132
178
 
133
179
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
180
+ :type fontid: int
134
181
  :param size: Point size of the font.
182
+ :type size: float
135
183
  """
136
184
 
137
185
  ...
@@ -145,11 +193,13 @@ def unload(filepath: typing.Union[str, bytes]):
145
193
 
146
194
  ...
147
195
 
148
- def word_wrap(fontid, wrap_width):
196
+ def word_wrap(fontid: int, wrap_width: int):
149
197
  """Set the wrap width, enable/disable using WORD_WRAP.
150
198
 
151
199
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
200
+ :type fontid: int
152
201
  :param wrap_width: The width (in pixels) to wrap words at.
202
+ :type wrap_width: int
153
203
  """
154
204
 
155
205
  ...
bmesh/__init__.pyi CHANGED
@@ -1,3 +1,16 @@
1
+ """
2
+ This module provides access to blenders bmesh data structures.
3
+
4
+ bmesh.ops.rst
5
+ bmesh.types.rst
6
+ bmesh.utils.rst
7
+ bmesh.geometry.rst
8
+
9
+ :maxdepth: 1
10
+ :caption: Submodules
11
+
12
+ """
13
+
1
14
  import typing
2
15
  import bmesh.types
3
16
  import bpy.types
@@ -1,3 +1,8 @@
1
+ """
2
+ This module provides access to bmesh geometry evaluation functions.
3
+
4
+ """
5
+
1
6
  import typing
2
7
  import bmesh.types
3
8
  import mathutils