BitMap

Inherits: Resource < Reference < Object

Category: Core

Brief Description

Member Functions

void create ( Vector2 size )
void create_from_image_alpha ( Image image )
bool get_bit ( Vector2 pos ) const
Vector2 get_size ( ) const
int get_true_bit_count ( ) const
void set_bit ( Vector2 pos, bool bit )
void set_bit_rect ( Rect2 p_rect, bool bit )

Member Function Description

void create ( Vector2 size )

void create_from_image_alpha ( Image image )

bool get_bit ( Vector2 pos ) const

Vector2 get_size ( ) const

int get_true_bit_count ( ) const

void set_bit ( Vector2 pos, bool bit )

void set_bit_rect ( Rect2 p_rect, bool bit )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_bitmap.html