Class: Bitmap
- Inherits:
-
Object
- Object
- Bitmap
- Defined in:
- lib/bitmap.rb
Instance Attribute Summary (collapse)
-
- (Object) font
Returns the value of attribute font.
Instance Method Summary (collapse)
- - (Object) blt(x, y, src_bitmap, src_rect, opacity = 255)
- - (Object) blur
- - (Object) clear
- - (Object) clear_rect(arg1, y = 0, width = nil, height = nil)
- - (Object) dispose
- - (Boolean) disposed?
- - (Object) draw_text(arg1, arg2, arg3, height = nil, arg5 = nil, arg6 = nil)
- - (Object) fill_rect(arg1, arg2, width = nil, height = nil, color = nil)
- - (Object) get_pixel(x, y)
- - (Object) gradient_fill_rect(arg1, arg2, arg3, arg4 = nil, arg5 = nil, arg6 = nil)
- - (Object) height
- - (Object) hue_change(hue)
-
- (Bitmap) initialize(arg1, height)
constructor
A new instance of Bitmap.
- - (Object) radial_blur(angle, division)
- - (Object) rect
- - (Object) set_pixel(x, y, color)
- - (Object) stretch_blt(dest_rect, src_bitmap, src_rect, opacity = 255)
- - (Object) text_size(str)
- - (Object) width
Constructor Details
- (Bitmap) initialize(arg1, height)
Returns a new instance of Bitmap
3 4 5 |
# File 'lib/bitmap.rb', line 3 def initialize(arg1, height) fail NotImplementedError end |
Instance Attribute Details
- (Object) font
Returns the value of attribute font
79 80 81 |
# File 'lib/bitmap.rb', line 79 def font @font end |
Instance Method Details
- (Object) blt(x, y, src_bitmap, src_rect, opacity = 255)
27 28 29 |
# File 'lib/bitmap.rb', line 27 def blt(x, y, src_bitmap, src_rect, opacity = 255) fail NotImplementedError end |
- (Object) blur
63 64 65 |
# File 'lib/bitmap.rb', line 63 def blur fail NotImplementedError end |
- (Object) clear
43 44 45 |
# File 'lib/bitmap.rb', line 43 def clear fail NotImplementedError end |
- (Object) clear_rect(arg1, y = 0, width = nil, height = nil)
47 48 49 |
# File 'lib/bitmap.rb', line 47 def clear_rect(arg1, y = 0, width = nil, height = nil) fail NotImplementedError end |
- (Object) dispose
7 8 9 |
# File 'lib/bitmap.rb', line 7 def dispose fail NotImplementedError end |
- (Boolean) disposed?
11 12 13 |
# File 'lib/bitmap.rb', line 11 def disposed? fail NotImplementedError end |
- (Object) draw_text(arg1, arg2, arg3, height = nil, arg5 = nil, arg6 = nil)
71 72 73 |
# File 'lib/bitmap.rb', line 71 def draw_text(arg1, arg2, arg3, height = nil, arg5 = nil, arg6 = nil) fail NotImplementedError end |
- (Object) fill_rect(arg1, arg2, width = nil, height = nil, color = nil)
35 36 37 |
# File 'lib/bitmap.rb', line 35 def fill_rect(arg1, arg2,width = nil, height = nil, color = nil) fail NotImplementedError end |
- (Object) get_pixel(x, y)
51 52 53 |
# File 'lib/bitmap.rb', line 51 def get_pixel(x, y) fail NotImplementedError end |
- (Object) gradient_fill_rect(arg1, arg2, arg3, arg4 = nil, arg5 = nil, arg6 = nil)
39 40 41 |
# File 'lib/bitmap.rb', line 39 def gradient_fill_rect(arg1, arg2, arg3, arg4 = nil, arg5 = nil, arg6 = nil) fail NotImplementedError end |
- (Object) height
19 20 21 |
# File 'lib/bitmap.rb', line 19 def height fail NotImplementedError end |
- (Object) hue_change(hue)
59 60 61 |
# File 'lib/bitmap.rb', line 59 def hue_change(hue) fail NotImplementedError end |
- (Object) radial_blur(angle, division)
67 68 69 |
# File 'lib/bitmap.rb', line 67 def radial_blur(angle, division) fail NotImplementedError end |
- (Object) rect
23 24 25 |
# File 'lib/bitmap.rb', line 23 def rect fail NotImplementedError end |
- (Object) set_pixel(x, y, color)
55 56 57 |
# File 'lib/bitmap.rb', line 55 def set_pixel(x, y, color) fail NotImplementedError end |
- (Object) stretch_blt(dest_rect, src_bitmap, src_rect, opacity = 255)
31 32 33 |
# File 'lib/bitmap.rb', line 31 def stretch_blt(dest_rect, src_bitmap, src_rect, opacity = 255) fail NotImplementedError end |
- (Object) text_size(str)
75 76 77 |
# File 'lib/bitmap.rb', line 75 def text_size(str) fail NotImplementedError end |
- (Object) width
15 16 17 |
# File 'lib/bitmap.rb', line 15 def width fail NotImplementedError end |