class_bitmap.rst 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_BitMap:
  4. BitMap
  5. ======
  6. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`create<class_BitMap_create>` **(** :ref:`Vector2<class_vector2>` size **)** |
  14. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`create_from_image_alpha<class_BitMap_create_from_image_alpha>` **(** :ref:`Object<class_object>` image **)** |
  16. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`get_bit<class_BitMap_get_bit>` **(** :ref:`Vector2<class_vector2>` pos **)** const |
  18. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`Vector2<class_vector2>` | :ref:`get_size<class_BitMap_get_size>` **(** **)** const |
  20. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`int<class_int>` | :ref:`get_true_bit_count<class_BitMap_get_true_bit_count>` **(** **)** const |
  22. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  23. | void | :ref:`set_bit<class_BitMap_set_bit>` **(** :ref:`Vector2<class_vector2>` pos, :ref:`bool<class_bool>` bit **)** |
  24. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_bit_rect<class_BitMap_set_bit_rect>` **(** :ref:`Rect2<class_rect2>` p_rect, :ref:`bool<class_bool>` bit **)** |
  26. +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  27. Member Variables
  28. ----------------
  29. - :ref:`Dictionary<class_dictionary>` **data**
  30. Member Function Description
  31. ---------------------------
  32. .. _class_BitMap_create:
  33. - void **create** **(** :ref:`Vector2<class_vector2>` size **)**
  34. .. _class_BitMap_create_from_image_alpha:
  35. - void **create_from_image_alpha** **(** :ref:`Object<class_object>` image **)**
  36. .. _class_BitMap_get_bit:
  37. - :ref:`bool<class_bool>` **get_bit** **(** :ref:`Vector2<class_vector2>` pos **)** const
  38. .. _class_BitMap_get_size:
  39. - :ref:`Vector2<class_vector2>` **get_size** **(** **)** const
  40. .. _class_BitMap_get_true_bit_count:
  41. - :ref:`int<class_int>` **get_true_bit_count** **(** **)** const
  42. .. _class_BitMap_set_bit:
  43. - void **set_bit** **(** :ref:`Vector2<class_vector2>` pos, :ref:`bool<class_bool>` bit **)**
  44. .. _class_BitMap_set_bit_rect:
  45. - void **set_bit_rect** **(** :ref:`Rect2<class_rect2>` p_rect, :ref:`bool<class_bool>` bit **)**