BitMap

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Methods

Image

convert_to_image ( ) const

void

create ( Vector2i size )

void

create_from_image_alpha ( Image image, float threshold=0.1 )

bool

get_bit ( int x, int y ) const

bool

get_bitv ( Vector2i position ) const

Vector2i

get_size ( ) const

int

get_true_bit_count ( ) const

void

grow_mask ( int pixels, Rect2i rect )

PackedVector2Array[]

opaque_to_polygons ( Rect2i rect, float epsilon=2.0 ) const

void

resize ( Vector2i new_size )

void

set_bit ( int x, int y, bool bit )

void

set_bit_rect ( Rect2i rect, bool bit )

void

set_bitv ( Vector2i position, bool bit )


Method Descriptions

Image convert_to_image ( ) const

There is currently no description for this method. Please help us by contributing one!


void create ( Vector2i size )

There is currently no description for this method. Please help us by contributing one!


void create_from_image_alpha ( Image image, float threshold=0.1 )

There is currently no description for this method. Please help us by contributing one!


bool get_bit ( int x, int y ) const

There is currently no description for this method. Please help us by contributing one!


bool get_bitv ( Vector2i position ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i get_size ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_true_bit_count ( ) const

There is currently no description for this method. Please help us by contributing one!


void grow_mask ( int pixels, Rect2i rect )

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array[] opaque_to_polygons ( Rect2i rect, float epsilon=2.0 ) const

There is currently no description for this method. Please help us by contributing one!


void resize ( Vector2i new_size )

There is currently no description for this method. Please help us by contributing one!


void set_bit ( int x, int y, bool bit )

There is currently no description for this method. Please help us by contributing one!


void set_bit_rect ( Rect2i rect, bool bit )

There is currently no description for this method. Please help us by contributing one!


void set_bitv ( Vector2i position, bool bit )

There is currently no description for this method. Please help us by contributing one!