fake-bpy-module 20250828__py3-none-any.whl → 20260118__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 (309) 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}/bl_extract_messages/__init__.pyi +1 -0
  7. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
  8. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  9. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  10. _bpy_internal/__init__.pyi +3 -1
  11. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  12. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  13. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  14. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  15. _bpy_internal/filesystem/__init__.pyi +5 -0
  16. _bpy_internal/filesystem/locking/__init__.pyi +28 -0
  17. _bpy_internal/platform/__init__.pyi +5 -0
  18. _bpy_types/__init__.pyi +115 -117
  19. {rna_info → _rna_info}/__init__.pyi +0 -1
  20. addon_utils/__init__.pyi +0 -13
  21. aud/__init__.pyi +66 -142
  22. bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
  23. bl_app_templates_system/__init__.pyi +5 -0
  24. bl_app_templates_system/py.typed +0 -0
  25. bl_math/__init__.pyi +2 -12
  26. bl_operators/__init__.pyi +1 -0
  27. bl_operators/add_mesh_torus/__init__.pyi +0 -2
  28. bl_operators/anim/__init__.pyi +47 -24
  29. bl_operators/assets/__init__.pyi +0 -6
  30. bl_operators/bone_selection_sets/__init__.pyi +0 -28
  31. bl_operators/clip/__init__.pyi +0 -20
  32. bl_operators/connect_to_output/__init__.pyi +0 -2
  33. bl_operators/console/__init__.pyi +0 -10
  34. bl_operators/constraint/__init__.pyi +0 -8
  35. bl_operators/copy_global_transform/__init__.pyi +261 -0
  36. bl_operators/file/__init__.pyi +0 -6
  37. bl_operators/freestyle/__init__.pyi +0 -8
  38. bl_operators/geometry_nodes/__init__.pyi +0 -8
  39. bl_operators/grease_pencil/__init__.pyi +0 -2
  40. bl_operators/image/__init__.pyi +0 -10
  41. bl_operators/image_as_planes/__init__.pyi +0 -4
  42. bl_operators/mesh/__init__.pyi +0 -47
  43. bl_operators/node/__init__.pyi +277 -57
  44. bl_operators/object/__init__.pyi +0 -37
  45. bl_operators/object_align/__init__.pyi +0 -2
  46. bl_operators/object_quick_effects/__init__.pyi +0 -8
  47. bl_operators/object_randomize_transform/__init__.pyi +0 -2
  48. bl_operators/presets/__init__.pyi +1 -51
  49. bl_operators/rigidbody/__init__.pyi +0 -6
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
  51. bl_operators/sequencer/__init__.pyi +0 -16
  52. bl_operators/spreadsheet/__init__.pyi +0 -2
  53. bl_operators/userpref/__init__.pyi +0 -50
  54. bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
  55. bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
  56. bl_operators/uvcalc_transform/__init__.pyi +21 -12
  57. bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
  58. bl_operators/view3d/__init__.pyi +0 -16
  59. bl_operators/wm/__init__.pyi +0 -92
  60. bl_operators/world/__init__.pyi +0 -2
  61. bl_ui/__init__.pyi +3 -4
  62. bl_ui/anim/__init__.pyi +0 -2
  63. bl_ui/asset_shelf/__init__.pyi +0 -2
  64. bl_ui/generic_ui_list/__init__.pyi +1 -17
  65. bl_ui/node_add_menu/__init__.pyi +261 -6
  66. bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
  67. bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
  68. bl_ui/node_add_menu_shader/__init__.pyi +49 -50
  69. bl_ui/node_add_menu_texture/__init__.pyi +16 -62
  70. bl_ui/properties_collection/__init__.pyi +0 -14
  71. bl_ui/properties_constraint/__init__.pyi +55 -209
  72. bl_ui/properties_data_armature/__init__.pyi +0 -36
  73. bl_ui/properties_data_bone/__init__.pyi +0 -20
  74. bl_ui/properties_data_camera/__init__.pyi +0 -30
  75. bl_ui/properties_data_curve/__init__.pyi +0 -30
  76. bl_ui/properties_data_curves/__init__.pyi +0 -16
  77. bl_ui/properties_data_empty/__init__.pyi +0 -4
  78. bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
  79. bl_ui/properties_data_lattice/__init__.pyi +0 -8
  80. bl_ui/properties_data_light/__init__.pyi +0 -20
  81. bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
  82. bl_ui/properties_data_mesh/__init__.pyi +1 -42
  83. bl_ui/properties_data_metaball/__init__.pyi +0 -12
  84. bl_ui/properties_data_modifier/__init__.pyi +12 -19
  85. bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
  86. bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
  87. bl_ui/properties_data_speaker/__init__.pyi +0 -12
  88. bl_ui/properties_data_volume/__init__.pyi +0 -18
  89. bl_ui/properties_freestyle/__init__.pyi +0 -50
  90. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
  91. bl_ui/properties_mask_common/__init__.pyi +0 -14
  92. bl_ui/properties_material/__init__.pyi +0 -32
  93. bl_ui/properties_material_gpencil/__init__.pyi +23 -45
  94. bl_ui/properties_object/__init__.pyi +35 -42
  95. bl_ui/properties_output/__init__.pyi +0 -40
  96. bl_ui/properties_paint_common/__init__.pyi +23 -19
  97. bl_ui/properties_particle/__init__.pyi +0 -106
  98. bl_ui/properties_physics_cloth/__init__.pyi +0 -28
  99. bl_ui/properties_physics_common/__init__.pyi +0 -2
  100. bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
  101. bl_ui/properties_physics_field/__init__.pyi +0 -20
  102. bl_ui/properties_physics_fluid/__init__.pyi +0 -56
  103. bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
  104. bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
  105. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
  106. bl_ui/properties_physics_softbody/__init__.pyi +0 -30
  107. bl_ui/properties_render/__init__.pyi +58 -86
  108. bl_ui/properties_scene/__init__.pyi +0 -34
  109. bl_ui/properties_strip/__init__.pyi +744 -0
  110. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  111. bl_ui/properties_texture/__init__.pyi +0 -54
  112. bl_ui/properties_view_layer/__init__.pyi +7 -28
  113. bl_ui/properties_workspace/__init__.pyi +0 -8
  114. bl_ui/properties_world/__init__.pyi +0 -22
  115. bl_ui/space_clip/__init__.pyi +82 -166
  116. bl_ui/space_console/__init__.pyi +0 -12
  117. bl_ui/space_dopesheet/__init__.pyi +67 -76
  118. bl_ui/space_filebrowser/__init__.pyi +0 -60
  119. bl_ui/space_graph/__init__.pyi +0 -66
  120. bl_ui/space_image/__init__.pyi +28 -162
  121. bl_ui/space_info/__init__.pyi +0 -12
  122. bl_ui/space_nla/__init__.pyi +0 -58
  123. bl_ui/space_node/__init__.pyi +99 -132
  124. bl_ui/space_outliner/__init__.pyi +0 -30
  125. bl_ui/space_properties/__init__.pyi +29 -6
  126. bl_ui/space_sequencer/__init__.pyi +159 -987
  127. bl_ui/space_spreadsheet/__init__.pyi +0 -6
  128. bl_ui/space_statusbar/__init__.pyi +0 -2
  129. bl_ui/space_text/__init__.pyi +0 -32
  130. bl_ui/space_time/__init__.pyi +29 -22
  131. bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
  132. bl_ui/space_topbar/__init__.pyi +7 -52
  133. bl_ui/space_userpref/__init__.pyi +77 -225
  134. bl_ui/space_view3d/__init__.pyi +69 -551
  135. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  136. bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
  137. bl_ui/utils/__init__.pyi +0 -17
  138. blf/__init__.pyi +6 -50
  139. bmesh/__init__.pyi +0 -7
  140. bmesh/geometry/__init__.pyi +0 -3
  141. bmesh/ops/__init__.pyi +5 -450
  142. bmesh/types/__init__.pyi +298 -639
  143. bmesh/utils/__init__.pyi +16 -43
  144. bpy/app/__init__.pyi +66 -58
  145. bpy/app/icons/__init__.pyi +0 -6
  146. bpy/app/timers/__init__.pyi +0 -6
  147. bpy/app/translations/__init__.pyi +1 -16
  148. bpy/msgbus/__init__.pyi +1 -4
  149. bpy/ops/action/__init__.pyi +17 -186
  150. bpy/ops/anim/__init__.pyi +38 -279
  151. bpy/ops/armature/__init__.pyi +20 -191
  152. bpy/ops/asset/__init__.pyi +11 -97
  153. bpy/ops/boid/__init__.pyi +7 -38
  154. bpy/ops/brush/__init__.pyi +3 -104
  155. bpy/ops/buttons/__init__.pyi +4 -71
  156. bpy/ops/cachefile/__init__.pyi +2 -63
  157. bpy/ops/camera/__init__.pyi +0 -11
  158. bpy/ops/clip/__init__.pyi +43 -427
  159. bpy/ops/cloth/__init__.pyi +0 -5
  160. bpy/ops/collection/__init__.pyi +3 -35
  161. bpy/ops/console/__init__.pyi +10 -88
  162. bpy/ops/constraint/__init__.pyi +3 -80
  163. bpy/ops/curve/__init__.pyi +23 -254
  164. bpy/ops/curves/__init__.pyi +54 -149
  165. bpy/ops/cycles/__init__.pyi +1 -14
  166. bpy/ops/dpaint/__init__.pyi +3 -21
  167. bpy/ops/ed/__init__.pyi +10 -82
  168. bpy/ops/export_anim/__init__.pyi +2 -10
  169. bpy/ops/export_scene/__init__.pyi +1 -155
  170. bpy/ops/extensions/__init__.pyi +15 -150
  171. bpy/ops/file/__init__.pyi +29 -216
  172. bpy/ops/fluid/__init__.pyi +13 -70
  173. bpy/ops/font/__init__.pyi +10 -134
  174. bpy/ops/geometry/__init__.pyi +3 -124
  175. bpy/ops/gizmogroup/__init__.pyi +1 -12
  176. bpy/ops/gpencil/__init__.pyi +5 -49
  177. bpy/ops/graph/__init__.pyi +20 -315
  178. bpy/ops/grease_pencil/__init__.pyi +62 -523
  179. bpy/ops/image/__init__.pyi +19 -379
  180. bpy/ops/import_anim/__init__.pyi +2 -16
  181. bpy/ops/import_curve/__init__.pyi +0 -6
  182. bpy/ops/import_scene/__init__.pyi +0 -50
  183. bpy/ops/info/__init__.pyi +4 -35
  184. bpy/ops/lattice/__init__.pyi +3 -33
  185. bpy/ops/marker/__init__.pyi +4 -49
  186. bpy/ops/mask/__init__.pyi +17 -176
  187. bpy/ops/material/__init__.pyi +3 -15
  188. bpy/ops/mball/__init__.pyi +1 -30
  189. bpy/ops/mesh/__init__.pyi +34 -932
  190. bpy/ops/nla/__init__.pyi +22 -183
  191. bpy/ops/node/__init__.pyi +420 -625
  192. bpy/ops/object/__init__.pyi +197 -1239
  193. bpy/ops/outliner/__init__.pyi +47 -327
  194. bpy/ops/paint/__init__.pyi +29 -282
  195. bpy/ops/paintcurve/__init__.pyi +4 -36
  196. bpy/ops/palette/__init__.pyi +3 -27
  197. bpy/ops/particle/__init__.pyi +20 -160
  198. bpy/ops/pointcloud/__init__.pyi +3 -35
  199. bpy/ops/pose/__init__.pyi +29 -234
  200. bpy/ops/poselib/__init__.pyi +19 -66
  201. bpy/ops/preferences/__init__.pyi +9 -177
  202. bpy/ops/ptcache/__init__.pyi +5 -31
  203. bpy/ops/render/__init__.pyi +10 -68
  204. bpy/ops/rigidbody/__init__.pyi +6 -56
  205. bpy/ops/scene/__init__.pyi +23 -168
  206. bpy/ops/screen/__init__.pyi +36 -202
  207. bpy/ops/script/__init__.pyi +1 -12
  208. bpy/ops/sculpt/__init__.pyi +42 -313
  209. bpy/ops/sculpt_curves/__init__.pyi +6 -21
  210. bpy/ops/sequencer/__init__.pyi +187 -644
  211. bpy/ops/sound/__init__.pyi +3 -109
  212. bpy/ops/spreadsheet/__init__.pyi +5 -32
  213. bpy/ops/surface/__init__.pyi +0 -48
  214. bpy/ops/text/__init__.pyi +27 -225
  215. bpy/ops/text_editor/__init__.pyi +0 -5
  216. bpy/ops/texture/__init__.pyi +3 -18
  217. bpy/ops/transform/__init__.pyi +10 -382
  218. bpy/ops/ui/__init__.pyi +29 -154
  219. bpy/ops/uilist/__init__.pyi +0 -13
  220. bpy/ops/uv/__init__.pyi +195 -288
  221. bpy/ops/view2d/__init__.pyi +3 -73
  222. bpy/ops/view3d/__init__.pyi +37 -339
  223. bpy/ops/wm/__init__.pyi +129 -1317
  224. bpy/ops/workspace/__init__.pyi +7 -39
  225. bpy/ops/world/__init__.pyi +2 -10
  226. bpy/path/__init__.pyi +0 -34
  227. bpy/props/__init__.pyi +332 -203
  228. bpy/stub_internal/rna_enums/__init__.pyi +102 -82
  229. bpy/types/__init__.pyi +51712 -89245
  230. bpy/utils/__init__.pyi +4 -75
  231. bpy/utils/previews/__init__.pyi +1 -10
  232. bpy/utils/units/__init__.pyi +0 -12
  233. bpy_extras/anim_utils/__init__.pyi +24 -16
  234. bpy_extras/bmesh_utils/__init__.pyi +0 -1
  235. bpy_extras/id_map_utils/__init__.pyi +14 -6
  236. bpy_extras/image_utils/__init__.pyi +0 -9
  237. bpy_extras/io_utils/__init__.pyi +4 -23
  238. bpy_extras/keyconfig_utils/__init__.pyi +1 -1
  239. bpy_extras/mesh_utils/__init__.pyi +0 -12
  240. bpy_extras/node_shader_utils/__init__.pyi +0 -8
  241. bpy_extras/object_utils/__init__.pyi +0 -14
  242. bpy_extras/view3d_utils/__init__.pyi +0 -18
  243. {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
  244. fake_bpy_module-20260118.dist-info/RECORD +385 -0
  245. {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +15 -14
  246. freestyle/chainingiterators/__init__.pyi +0 -22
  247. freestyle/functions/__init__.pyi +0 -139
  248. freestyle/predicates/__init__.pyi +0 -51
  249. freestyle/shaders/__init__.pyi +0 -65
  250. freestyle/types/__init__.pyi +139 -777
  251. freestyle/utils/ContextFunctions/__init__.pyi +0 -23
  252. freestyle/utils/__init__.pyi +0 -6
  253. gpu/capabilities/__init__.pyi +0 -21
  254. gpu/matrix/__init__.pyi +1 -10
  255. gpu/platform/__init__.pyi +0 -5
  256. gpu/shader/__init__.pyi +22 -6
  257. gpu/state/__init__.pyi +59 -38
  258. gpu/texture/__init__.pyi +0 -2
  259. gpu/types/__init__.pyi +84 -152
  260. gpu_extras/batch/__init__.pyi +0 -4
  261. gpu_extras/presets/__init__.pyi +6 -8
  262. idprop/types/__init__.pyi +6 -6
  263. imbuf/__init__.pyi +2 -9
  264. imbuf/types/__init__.pyi +5 -25
  265. keyingsets_builtins/__init__.pyi +1 -45
  266. mathutils/__init__.pyi +106 -2168
  267. mathutils/bvhtree/__init__.pyi +3 -25
  268. mathutils/geometry/__init__.pyi +41 -133
  269. mathutils/interpolate/__init__.pyi +3 -4
  270. mathutils/kdtree/__init__.pyi +0 -11
  271. mathutils/noise/__init__.pyi +0 -62
  272. fake_bpy_module-20250828.dist-info/RECORD +0 -370
  273. {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
  274. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  275. {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
  276. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
  277. {bl_console_utils → _bl_console_utils}/py.typed +0 -0
  278. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
  279. {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
  280. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
  281. {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
  282. {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
  283. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
  284. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
  285. {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
  286. {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
  287. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
  288. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
  289. {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
  290. {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
  291. {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
  292. {bl_text_utils → _bl_text_utils}/py.typed +0 -0
  293. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
  294. {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
  295. /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
  296. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
  297. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  298. {console_python → _console_python}/__init__.pyi +0 -0
  299. {console_python → _console_python}/py.typed +0 -0
  300. {console_shell → _console_shell}/__init__.pyi +0 -0
  301. {console_shell → _console_shell}/py.typed +0 -0
  302. {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
  303. {graphviz_export → _graphviz_export}/py.typed +0 -0
  304. {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
  305. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  306. {rna_info → _rna_info}/py.typed +0 -0
  307. {rna_xml → _rna_xml}/__init__.pyi +0 -0
  308. {rna_xml → _rna_xml}/py.typed +0 -0
  309. {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bl_ui/utils/__init__.pyi CHANGED
@@ -3,23 +3,6 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
 
6
- class PlayheadSnappingPanel:
7
- bl_label: typing.Any
8
- bl_region_type: typing.Any
9
-
10
- def draw(self, context) -> None:
11
- """
12
-
13
- :param context:
14
- """
15
-
16
- @classmethod
17
- def poll(cls, context) -> None:
18
- """
19
-
20
- :param context:
21
- """
22
-
23
6
  class PresetPanel:
24
7
  bl_label: typing.Any
25
8
  bl_region_type: typing.Any
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
  """