fake-bpy-module-latest 20251003__py3-none-any.whl → 20260114__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.
Files changed (299) hide show
  1. {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
  2. {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
  3. {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
  4. {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
  5. {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
  6. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
  7. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  8. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  9. _bpy_internal/__init__.pyi +1 -0
  10. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  11. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  12. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  13. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  14. _bpy_types/__init__.pyi +18 -123
  15. {rna_info → _rna_info}/__init__.pyi +0 -1
  16. addon_utils/__init__.pyi +0 -13
  17. aud/__init__.pyi +55 -131
  18. bl_math/__init__.pyi +2 -12
  19. bl_operators/__init__.pyi +1 -0
  20. bl_operators/add_mesh_torus/__init__.pyi +0 -2
  21. bl_operators/anim/__init__.pyi +40 -24
  22. bl_operators/assets/__init__.pyi +0 -6
  23. bl_operators/bone_selection_sets/__init__.pyi +0 -28
  24. bl_operators/clip/__init__.pyi +0 -20
  25. bl_operators/connect_to_output/__init__.pyi +0 -2
  26. bl_operators/console/__init__.pyi +0 -10
  27. bl_operators/constraint/__init__.pyi +0 -8
  28. bl_operators/copy_global_transform/__init__.pyi +261 -0
  29. bl_operators/file/__init__.pyi +0 -6
  30. bl_operators/freestyle/__init__.pyi +0 -8
  31. bl_operators/geometry_nodes/__init__.pyi +0 -8
  32. bl_operators/grease_pencil/__init__.pyi +0 -2
  33. bl_operators/image/__init__.pyi +0 -10
  34. bl_operators/image_as_planes/__init__.pyi +0 -4
  35. bl_operators/mesh/__init__.pyi +0 -4
  36. bl_operators/node/__init__.pyi +36 -46
  37. bl_operators/object/__init__.pyi +0 -37
  38. bl_operators/object_align/__init__.pyi +0 -2
  39. bl_operators/object_quick_effects/__init__.pyi +0 -8
  40. bl_operators/object_randomize_transform/__init__.pyi +0 -2
  41. bl_operators/presets/__init__.pyi +0 -50
  42. bl_operators/rigidbody/__init__.pyi +0 -6
  43. bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
  44. bl_operators/sequencer/__init__.pyi +0 -16
  45. bl_operators/spreadsheet/__init__.pyi +0 -2
  46. bl_operators/userpref/__init__.pyi +0 -50
  47. bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
  48. bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
  49. bl_operators/uvcalc_transform/__init__.pyi +21 -12
  50. bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
  51. bl_operators/view3d/__init__.pyi +0 -16
  52. bl_operators/wm/__init__.pyi +0 -92
  53. bl_operators/world/__init__.pyi +0 -2
  54. bl_ui/__init__.pyi +3 -4
  55. bl_ui/anim/__init__.pyi +0 -2
  56. bl_ui/asset_shelf/__init__.pyi +0 -2
  57. bl_ui/generic_ui_list/__init__.pyi +1 -17
  58. bl_ui/node_add_menu/__init__.pyi +13 -16
  59. bl_ui/node_add_menu_compositor/__init__.pyi +19 -57
  60. bl_ui/node_add_menu_geometry/__init__.pyi +56 -168
  61. bl_ui/node_add_menu_shader/__init__.pyi +10 -30
  62. bl_ui/node_add_menu_texture/__init__.pyi +1 -17
  63. bl_ui/properties_collection/__init__.pyi +0 -14
  64. bl_ui/properties_constraint/__init__.pyi +64 -150
  65. bl_ui/properties_data_armature/__init__.pyi +0 -36
  66. bl_ui/properties_data_bone/__init__.pyi +0 -20
  67. bl_ui/properties_data_camera/__init__.pyi +0 -30
  68. bl_ui/properties_data_curve/__init__.pyi +0 -30
  69. bl_ui/properties_data_curves/__init__.pyi +0 -16
  70. bl_ui/properties_data_empty/__init__.pyi +0 -4
  71. bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
  72. bl_ui/properties_data_lattice/__init__.pyi +0 -8
  73. bl_ui/properties_data_light/__init__.pyi +0 -20
  74. bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
  75. bl_ui/properties_data_mesh/__init__.pyi +0 -42
  76. bl_ui/properties_data_metaball/__init__.pyi +0 -12
  77. bl_ui/properties_data_modifier/__init__.pyi +0 -18
  78. bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
  79. bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
  80. bl_ui/properties_data_speaker/__init__.pyi +0 -12
  81. bl_ui/properties_data_volume/__init__.pyi +0 -18
  82. bl_ui/properties_freestyle/__init__.pyi +0 -50
  83. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -14
  84. bl_ui/properties_mask_common/__init__.pyi +0 -14
  85. bl_ui/properties_material/__init__.pyi +0 -32
  86. bl_ui/properties_material_gpencil/__init__.pyi +0 -22
  87. bl_ui/properties_object/__init__.pyi +35 -42
  88. bl_ui/properties_output/__init__.pyi +0 -40
  89. bl_ui/properties_paint_common/__init__.pyi +23 -7
  90. bl_ui/properties_particle/__init__.pyi +0 -106
  91. bl_ui/properties_physics_cloth/__init__.pyi +0 -28
  92. bl_ui/properties_physics_common/__init__.pyi +0 -2
  93. bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
  94. bl_ui/properties_physics_field/__init__.pyi +0 -20
  95. bl_ui/properties_physics_fluid/__init__.pyi +0 -56
  96. bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
  97. bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
  98. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
  99. bl_ui/properties_physics_softbody/__init__.pyi +0 -30
  100. bl_ui/properties_render/__init__.pyi +0 -90
  101. bl_ui/properties_scene/__init__.pyi +0 -34
  102. bl_ui/properties_strip/__init__.pyi +744 -0
  103. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  104. bl_ui/properties_texture/__init__.pyi +0 -54
  105. bl_ui/properties_view_layer/__init__.pyi +7 -28
  106. bl_ui/properties_workspace/__init__.pyi +0 -8
  107. bl_ui/properties_world/__init__.pyi +0 -22
  108. bl_ui/space_clip/__init__.pyi +1 -150
  109. bl_ui/space_console/__init__.pyi +0 -12
  110. bl_ui/space_dopesheet/__init__.pyi +52 -60
  111. bl_ui/space_filebrowser/__init__.pyi +0 -60
  112. bl_ui/space_graph/__init__.pyi +0 -44
  113. bl_ui/space_image/__init__.pyi +2 -144
  114. bl_ui/space_info/__init__.pyi +0 -12
  115. bl_ui/space_nla/__init__.pyi +0 -36
  116. bl_ui/space_node/__init__.pyi +27 -66
  117. bl_ui/space_outliner/__init__.pyi +0 -30
  118. bl_ui/space_properties/__init__.pyi +29 -6
  119. bl_ui/space_sequencer/__init__.pyi +46 -912
  120. bl_ui/space_spreadsheet/__init__.pyi +0 -6
  121. bl_ui/space_statusbar/__init__.pyi +0 -2
  122. bl_ui/space_text/__init__.pyi +0 -32
  123. bl_ui/space_time/__init__.pyi +50 -8
  124. bl_ui/space_topbar/__init__.pyi +7 -52
  125. bl_ui/space_userpref/__init__.pyi +7 -188
  126. bl_ui/space_view3d/__init__.pyi +36 -544
  127. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  128. bl_ui/space_view3d_toolbar/__init__.pyi +2 -163
  129. blf/__init__.pyi +6 -50
  130. bmesh/__init__.pyi +0 -7
  131. bmesh/geometry/__init__.pyi +0 -3
  132. bmesh/ops/__init__.pyi +2 -450
  133. bmesh/types/__init__.pyi +206 -420
  134. bmesh/utils/__init__.pyi +16 -43
  135. bpy/app/__init__.pyi +53 -56
  136. bpy/app/icons/__init__.pyi +0 -6
  137. bpy/app/timers/__init__.pyi +0 -6
  138. bpy/app/translations/__init__.pyi +1 -16
  139. bpy/msgbus/__init__.pyi +1 -4
  140. bpy/ops/action/__init__.pyi +15 -165
  141. bpy/ops/anim/__init__.pyi +38 -279
  142. bpy/ops/armature/__init__.pyi +18 -192
  143. bpy/ops/asset/__init__.pyi +11 -97
  144. bpy/ops/boid/__init__.pyi +7 -38
  145. bpy/ops/brush/__init__.pyi +3 -72
  146. bpy/ops/buttons/__init__.pyi +4 -71
  147. bpy/ops/cachefile/__init__.pyi +2 -63
  148. bpy/ops/camera/__init__.pyi +0 -11
  149. bpy/ops/clip/__init__.pyi +43 -427
  150. bpy/ops/cloth/__init__.pyi +0 -5
  151. bpy/ops/collection/__init__.pyi +2 -34
  152. bpy/ops/console/__init__.pyi +10 -88
  153. bpy/ops/constraint/__init__.pyi +3 -80
  154. bpy/ops/curve/__init__.pyi +23 -254
  155. bpy/ops/curves/__init__.pyi +17 -166
  156. bpy/ops/cycles/__init__.pyi +1 -14
  157. bpy/ops/dpaint/__init__.pyi +3 -21
  158. bpy/ops/ed/__init__.pyi +10 -82
  159. bpy/ops/export_anim/__init__.pyi +2 -10
  160. bpy/ops/export_scene/__init__.pyi +1 -155
  161. bpy/ops/extensions/__init__.pyi +15 -150
  162. bpy/ops/file/__init__.pyi +27 -217
  163. bpy/ops/fluid/__init__.pyi +13 -70
  164. bpy/ops/font/__init__.pyi +10 -134
  165. bpy/ops/geometry/__init__.pyi +3 -124
  166. bpy/ops/gizmogroup/__init__.pyi +1 -12
  167. bpy/ops/gpencil/__init__.pyi +5 -38
  168. bpy/ops/graph/__init__.pyi +18 -316
  169. bpy/ops/grease_pencil/__init__.pyi +29 -524
  170. bpy/ops/image/__init__.pyi +19 -379
  171. bpy/ops/import_anim/__init__.pyi +2 -16
  172. bpy/ops/import_curve/__init__.pyi +0 -6
  173. bpy/ops/import_scene/__init__.pyi +0 -50
  174. bpy/ops/info/__init__.pyi +4 -35
  175. bpy/ops/lattice/__init__.pyi +3 -33
  176. bpy/ops/marker/__init__.pyi +2 -50
  177. bpy/ops/mask/__init__.pyi +17 -176
  178. bpy/ops/material/__init__.pyi +3 -15
  179. bpy/ops/mball/__init__.pyi +1 -30
  180. bpy/ops/mesh/__init__.pyi +32 -915
  181. bpy/ops/nla/__init__.pyi +20 -184
  182. bpy/ops/node/__init__.pyi +71 -741
  183. bpy/ops/object/__init__.pyi +137 -1254
  184. bpy/ops/outliner/__init__.pyi +47 -327
  185. bpy/ops/paint/__init__.pyi +14 -279
  186. bpy/ops/paintcurve/__init__.pyi +4 -36
  187. bpy/ops/palette/__init__.pyi +3 -27
  188. bpy/ops/particle/__init__.pyi +20 -160
  189. bpy/ops/pointcloud/__init__.pyi +3 -35
  190. bpy/ops/pose/__init__.pyi +28 -233
  191. bpy/ops/poselib/__init__.pyi +4 -47
  192. bpy/ops/preferences/__init__.pyi +9 -177
  193. bpy/ops/ptcache/__init__.pyi +5 -31
  194. bpy/ops/render/__init__.pyi +6 -70
  195. bpy/ops/rigidbody/__init__.pyi +6 -56
  196. bpy/ops/scene/__init__.pyi +22 -167
  197. bpy/ops/screen/__init__.pyi +36 -202
  198. bpy/ops/script/__init__.pyi +1 -12
  199. bpy/ops/sculpt/__init__.pyi +36 -311
  200. bpy/ops/sculpt_curves/__init__.pyi +1 -20
  201. bpy/ops/sequencer/__init__.pyi +90 -662
  202. bpy/ops/sound/__init__.pyi +3 -109
  203. bpy/ops/spreadsheet/__init__.pyi +5 -32
  204. bpy/ops/surface/__init__.pyi +0 -48
  205. bpy/ops/text/__init__.pyi +27 -225
  206. bpy/ops/text_editor/__init__.pyi +0 -5
  207. bpy/ops/texture/__init__.pyi +3 -18
  208. bpy/ops/transform/__init__.pyi +10 -382
  209. bpy/ops/ui/__init__.pyi +21 -158
  210. bpy/ops/uilist/__init__.pyi +0 -13
  211. bpy/ops/uv/__init__.pyi +52 -305
  212. bpy/ops/view2d/__init__.pyi +3 -73
  213. bpy/ops/view3d/__init__.pyi +37 -339
  214. bpy/ops/wm/__init__.pyi +39 -1334
  215. bpy/ops/workspace/__init__.pyi +7 -39
  216. bpy/ops/world/__init__.pyi +2 -10
  217. bpy/path/__init__.pyi +0 -34
  218. bpy/props/__init__.pyi +15 -157
  219. bpy/stub_internal/rna_enums/__init__.pyi +52 -20
  220. bpy/types/__init__.pyi +15386 -56984
  221. bpy/utils/__init__.pyi +4 -75
  222. bpy/utils/previews/__init__.pyi +1 -10
  223. bpy/utils/units/__init__.pyi +0 -12
  224. bpy_extras/anim_utils/__init__.pyi +9 -8
  225. bpy_extras/bmesh_utils/__init__.pyi +0 -1
  226. bpy_extras/id_map_utils/__init__.pyi +14 -6
  227. bpy_extras/image_utils/__init__.pyi +0 -9
  228. bpy_extras/io_utils/__init__.pyi +2 -22
  229. bpy_extras/keyconfig_utils/__init__.pyi +1 -1
  230. bpy_extras/mesh_utils/__init__.pyi +0 -12
  231. bpy_extras/object_utils/__init__.pyi +0 -14
  232. bpy_extras/view3d_utils/__init__.pyi +0 -18
  233. {fake_bpy_module_latest-20251003.dist-info → fake_bpy_module_latest-20260114.dist-info}/METADATA +4 -1
  234. fake_bpy_module_latest-20260114.dist-info/RECORD +382 -0
  235. {fake_bpy_module_latest-20251003.dist-info → fake_bpy_module_latest-20260114.dist-info}/top_level.txt +14 -14
  236. freestyle/chainingiterators/__init__.pyi +0 -22
  237. freestyle/functions/__init__.pyi +0 -139
  238. freestyle/predicates/__init__.pyi +0 -51
  239. freestyle/shaders/__init__.pyi +0 -65
  240. freestyle/types/__init__.pyi +139 -777
  241. freestyle/utils/ContextFunctions/__init__.pyi +0 -23
  242. freestyle/utils/__init__.pyi +1 -7
  243. gpu/capabilities/__init__.pyi +0 -21
  244. gpu/matrix/__init__.pyi +1 -10
  245. gpu/platform/__init__.pyi +0 -5
  246. gpu/shader/__init__.pyi +22 -6
  247. gpu/state/__init__.pyi +59 -38
  248. gpu/texture/__init__.pyi +0 -2
  249. gpu/types/__init__.pyi +84 -152
  250. gpu_extras/batch/__init__.pyi +0 -4
  251. gpu_extras/presets/__init__.pyi +6 -8
  252. idprop/types/__init__.pyi +5 -5
  253. imbuf/__init__.pyi +2 -9
  254. imbuf/types/__init__.pyi +5 -25
  255. keyingsets_builtins/__init__.pyi +1 -45
  256. mathutils/__init__.pyi +82 -2172
  257. mathutils/bvhtree/__init__.pyi +3 -25
  258. mathutils/geometry/__init__.pyi +24 -135
  259. mathutils/interpolate/__init__.pyi +3 -4
  260. mathutils/kdtree/__init__.pyi +0 -11
  261. mathutils/noise/__init__.pyi +0 -62
  262. fake_bpy_module_latest-20251003.dist-info/RECORD +0 -373
  263. {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
  264. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  265. {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
  266. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
  267. {bl_console_utils → _bl_console_utils}/py.typed +0 -0
  268. {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +0 -0
  269. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
  270. {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
  271. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
  272. {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
  273. {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
  274. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
  275. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
  276. {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
  277. {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
  278. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
  279. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
  280. {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
  281. {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
  282. {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
  283. {bl_text_utils → _bl_text_utils}/py.typed +0 -0
  284. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
  285. {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
  286. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
  287. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  288. {console_python → _console_python}/__init__.pyi +0 -0
  289. {console_python → _console_python}/py.typed +0 -0
  290. {console_shell → _console_shell}/__init__.pyi +0 -0
  291. {console_shell → _console_shell}/py.typed +0 -0
  292. {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
  293. {graphviz_export → _graphviz_export}/py.typed +0 -0
  294. {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
  295. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  296. {rna_info → _rna_info}/py.typed +0 -0
  297. {rna_xml → _rna_xml}/__init__.pyi +0 -0
  298. {rna_xml → _rna_xml}/py.typed +0 -0
  299. {fake_bpy_module_latest-20251003.dist-info → fake_bpy_module_latest-20260114.dist-info}/WHEEL +0 -0
blf/__init__.pyi CHANGED
@@ -23,21 +23,20 @@ import typing
23
23
  import collections.abc
24
24
  import typing_extensions
25
25
  import numpy.typing as npt
26
+ import imbuf.types
26
27
 
27
28
  def aspect(fontid: int, aspect: float) -> None:
28
29
  """Set the aspect for drawing text.
29
30
 
30
31
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
31
- :type fontid: int
32
32
  :param aspect: The aspect ratio for text drawing to use.
33
- :type aspect: float
34
33
  """
35
34
 
36
- def bind_imbuf(fontid: int, image) -> None:
35
+ def bind_imbuf(fontid: int, imbuf: imbuf.types.ImBuf) -> None:
37
36
  """Context manager to draw text into an image buffer instead of the GPUs context.
38
37
 
39
38
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
40
- :type fontid: int
39
+ :param imbuf: The image to draw into.
41
40
  :return: The BLF ImBuf context manager.
42
41
  """
43
42
 
@@ -45,161 +44,118 @@ def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float) ->
45
44
  """Set the clipping, enable/disable using CLIPPING.
46
45
 
47
46
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
48
- :type fontid: int
49
47
  :param xmin: Clip the drawing area by these bounds.
50
- :type xmin: float
51
48
  :param ymin: Clip the drawing area by these bounds.
52
- :type ymin: float
53
49
  :param xmax: Clip the drawing area by these bounds.
54
- :type xmax: float
55
50
  :param ymax: Clip the drawing area by these bounds.
56
- :type ymax: float
57
51
  """
58
52
 
59
53
  def color(fontid: int, r: float, g: float, b: float, a: float) -> None:
60
54
  """Set the color for drawing text.
61
55
 
62
56
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
63
- :type fontid: int
64
57
  :param r: red channel 0.0 - 1.0.
65
- :type r: float
66
58
  :param g: green channel 0.0 - 1.0.
67
- :type g: float
68
59
  :param b: blue channel 0.0 - 1.0.
69
- :type b: float
70
60
  :param a: alpha channel 0.0 - 1.0.
71
- :type a: float
72
61
  """
73
62
 
74
63
  def dimensions(fontid: int, text: str) -> tuple[float, float]:
75
64
  """Return the width and height of the text.
76
65
 
77
66
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
78
- :type fontid: int
79
67
  :param text: the text to draw.
80
- :type text: str
81
68
  :return: the width and height of the text.
82
- :rtype: tuple[float, float]
83
69
  """
84
70
 
85
71
  def disable(fontid: int, option: int) -> None:
86
72
  """Disable option.
87
73
 
88
74
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
89
- :type fontid: int
90
75
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
91
- :type option: int
92
76
  """
93
77
 
94
78
  def draw(fontid: int, text: str) -> None:
95
79
  """Draw text in the current context.
96
80
 
97
81
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
98
- :type fontid: int
99
82
  :param text: the text to draw.
100
- :type text: str
101
83
  """
102
84
 
103
85
  def draw_buffer(fontid: int, text: str) -> None:
104
86
  """Draw text into the buffer bound to the fontid.
105
87
 
106
88
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
107
- :type fontid: int
108
89
  :param text: the text to draw.
109
- :type text: str
110
90
  """
111
91
 
112
92
  def enable(fontid: int, option: int) -> None:
113
93
  """Enable option.
114
94
 
115
95
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
116
- :type fontid: int
117
96
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
118
- :type option: int
119
97
  """
120
98
 
121
99
  def load(filepath: bytes | str) -> int:
122
100
  """Load a new font.
123
101
 
124
102
  :param filepath: the filepath of the font.
125
- :type filepath: bytes | str
126
103
  :return: the new fonts fontid or -1 if there was an error.
127
- :rtype: int
128
104
  """
129
105
 
130
106
  def position(fontid: int, x: float, y: float, z: float) -> None:
131
107
  """Set the position for drawing text.
132
108
 
133
109
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
134
- :type fontid: int
135
110
  :param x: X axis position to draw the text.
136
- :type x: float
137
111
  :param y: Y axis position to draw the text.
138
- :type y: float
139
112
  :param z: Z axis position to draw the text.
140
- :type z: float
141
113
  """
142
114
 
143
115
  def rotation(fontid: int, angle: float) -> None:
144
116
  """Set the text rotation angle, enable/disable using ROTATION.
145
117
 
146
118
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
147
- :type fontid: int
148
119
  :param angle: The angle for text drawing to use.
149
- :type angle: float
150
120
  """
151
121
 
152
122
  def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float) -> None:
153
123
  """Shadow options, enable/disable using SHADOW .
154
124
 
155
125
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
156
- :type fontid: int
157
126
  :param level: The blur level (0, 3, 5) or outline (6).
158
- :type level: int
159
127
  :param r: Shadow color (red channel 0.0 - 1.0).
160
- :type r: float
161
128
  :param g: Shadow color (green channel 0.0 - 1.0).
162
- :type g: float
163
129
  :param b: Shadow color (blue channel 0.0 - 1.0).
164
- :type b: float
165
130
  :param a: Shadow color (alpha channel 0.0 - 1.0).
166
- :type a: float
167
131
  """
168
132
 
169
- def shadow_offset(fontid: int, x: float, y: float) -> None:
133
+ def shadow_offset(fontid: int, x: int, y: int) -> None:
170
134
  """Set the offset for shadow text.
171
135
 
172
136
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
173
- :type fontid: int
174
- :param x: Vertical shadow offset value in pixels.
175
- :type x: float
176
- :param y: Horizontal shadow offset value in pixels.
177
- :type y: float
137
+ :param x: Horizontal shadow offset value in pixels.
138
+ :param y: Vertical shadow offset value in pixels.
178
139
  """
179
140
 
180
141
  def size(fontid: int, size: float) -> None:
181
142
  """Set the size for drawing text.
182
143
 
183
144
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
184
- :type fontid: int
185
145
  :param size: Point size of the font.
186
- :type size: float
187
146
  """
188
147
 
189
148
  def unload(filepath: bytes | str) -> None:
190
149
  """Unload an existing font.
191
150
 
192
151
  :param filepath: the filepath of the font.
193
- :type filepath: bytes | str
194
152
  """
195
153
 
196
154
  def word_wrap(fontid: int, wrap_width: int) -> None:
197
155
  """Set the wrap width, enable/disable using WORD_WRAP.
198
156
 
199
157
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
200
- :type fontid: int
201
158
  :param wrap_width: The width (in pixels) to wrap words at.
202
- :type wrap_width: int
203
159
  """
204
160
 
205
161
  CLIPPING: typing.Any
bmesh/__init__.pyi CHANGED
@@ -27,18 +27,14 @@ def from_edit_mesh(mesh: bpy.types.Mesh) -> bmesh.types.BMesh:
27
27
  """Return a BMesh from this mesh, currently the mesh must already be in editmode.
28
28
 
29
29
  :param mesh: The editmode mesh.
30
- :type mesh: bpy.types.Mesh
31
30
  :return: the BMesh associated with this mesh.
32
- :rtype: bmesh.types.BMesh
33
31
  """
34
32
 
35
33
  def new(*, use_operators: bool = True) -> bmesh.types.BMesh:
36
34
  """
37
35
 
38
36
  :param use_operators: Support calling operators in `bmesh.ops` (uses some extra memory per vert/edge/face).
39
- :type use_operators: bool
40
37
  :return: Return a new, empty BMesh.
41
- :rtype: bmesh.types.BMesh
42
38
  """
43
39
 
44
40
  def update_edit_mesh(
@@ -48,9 +44,6 @@ def update_edit_mesh(
48
44
  optionally recalculating n-gon tessellation.
49
45
 
50
46
  :param mesh: The editmode mesh.
51
- :type mesh: bpy.types.Mesh
52
47
  :param loop_triangles: Option to recalculate n-gon tessellation.
53
- :type loop_triangles: bool
54
48
  :param destructive: Use when geometry has been added or removed.
55
- :type destructive: bool
56
49
  """
@@ -16,9 +16,6 @@ def intersect_face_point(
16
16
  """Tests if the projection of a point is inside a face (using the faces normal).
17
17
 
18
18
  :param face: The face to test.
19
- :type face: bmesh.types.BMFace
20
19
  :param point: The point to test.
21
- :type point: collections.abc.Sequence[float] | mathutils.Vector
22
20
  :return: True when the projection of the point is in the face.
23
- :rtype: bool
24
21
  """