class_bitmap.rst 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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:`Image<class_image>` 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 Function Description
  28. ---------------------------
  29. .. _class_BitMap_create:
  30. - void **create** **(** :ref:`Vector2<class_vector2>` size **)**
  31. .. _class_BitMap_create_from_image_alpha:
  32. - void **create_from_image_alpha** **(** :ref:`Image<class_image>` image **)**
  33. .. _class_BitMap_get_bit:
  34. - :ref:`bool<class_bool>` **get_bit** **(** :ref:`Vector2<class_vector2>` pos **)** const
  35. .. _class_BitMap_get_size:
  36. - :ref:`Vector2<class_vector2>` **get_size** **(** **)** const
  37. .. _class_BitMap_get_true_bit_count:
  38. - :ref:`int<class_int>` **get_true_bit_count** **(** **)** const
  39. .. _class_BitMap_set_bit:
  40. - void **set_bit** **(** :ref:`Vector2<class_vector2>` pos, :ref:`bool<class_bool>` bit **)**
  41. .. _class_BitMap_set_bit_rect:
  42. - void **set_bit_rect** **(** :ref:`Rect2<class_rect2>` p_rect, :ref:`bool<class_bool>` bit **)**