class

Godot::BitMap

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

convert_to_image
Source
create(size : Vector2i) : Void
Source
create_from_image_alpha(image : Image, threshold : Float64) : Void
Source
data

Property data getter

Source
data=(val)

Property data setter

Source
get_bit(x : Int64, y : Int64) : Bool
Source
get_bitv(position : Vector2i) : Bool
Source
get_size
Source
get_true_bit_count
Source
grow_mask(pixels : Int64, rect : Rect2i) : Void
Source
opaque_to_polygons(rect : Rect2i, epsilon : Float64) : Godot::Array
Source
resize(new_size : Vector2i) : Void
Source
set_bit(x : Int64, y : Int64, bit : Bool) : Void
Source
set_bit_rect(rect : Rect2i, bit : Bool) : Void
Source
set_bitv(position : Vector2i, bit : Bool) : Void
Source