Bitmap¶
Constructors¶
initialize()
initialize(width: Integer, height: Integer)
initialize(filename: String)
Methods¶
! -> TrueClass
!=(image: Bmp::Bitmap) -> TrueClass
==(image: Bmp::Bitmap) -> TrueClass
[](i: Integer) -> Bmp::Pixel
[](i: Integer) -> Bmp::Pixel
[]=(arg_0: Integer, arg_1: Bmp::Pixel) -> NilClass
assign(image: Bmp::Bitmap) -> Bmp::Bitmap
assign(image: Bmp::Bitmap) -> Bmp::Bitmap
clear(pixel: Bmp::Pixel) -> NilClass
draw_circle(center_x: Integer, center_y: Integer, radius: Integer, color: Bmp::Pixel) -> NilClass
draw_line(x1: Integer, y1: Integer, x2: Integer, y2: Integer, color: Bmp::Pixel) -> NilClass
draw_rect(x: Integer, y: Integer, width: Integer, height: Integer, color: Bmp::Pixel) -> NilClass
draw_triangle(x1: Integer, y1: Integer, x2: Integer, y2: Integer, x3: Integer, y3: Integer, color: Bmp::Pixel) -> NilClass
empty? -> TrueClass
fill_circle(center_x: Integer, center_y: Integer, radius: Integer, color: Bmp::Pixel) -> NilClass
fill_rect(x: Integer, y: Integer, width: Integer, height: Integer, color: Bmp::Pixel) -> NilClass
fill_triangle(x1: Integer, y1: Integer, x2: Integer, y2: Integer, x3: Integer, y3: Integer, color: Bmp::Pixel) -> NilClass
flip_h -> Bmp::Bitmap
flip_v -> Bmp::Bitmap
get(x: Integer, y: Integer) -> Bmp::Pixel
get(x: Integer, y: Integer) -> Bmp::Pixel
height -> Integer
initialize_copy(other: Bmp::Bitmap) -> NilClass
inspect -> String
load(filename: Std::Filesystem::Path) -> NilClass
rotate_90_left -> Bmp::Bitmap
rotate_90_right -> Bmp::Bitmap
save(filename: Std::Filesystem::Path) -> NilClass
set(x: Integer, y: Integer, color: Bmp::Pixel) -> NilClass
size -> Integer
to_s -> String
width -> Integer