Method: Gosu::Font#initialize
- Defined in:
- lib/gosu_android/graphics/font.rb
#initialize(window, font_name, font_height, font_flags = :ff_bold) ⇒ Font
30 31 32 33 34 35 36 |
# File 'lib/gosu_android/graphics/font.rb', line 30 def initialize(window, font_name, font_height, font_flags = :ff_bold) @window = window @fonts_manager = window.fonts_manager @name = font_name @height = font_height * 2 @flags = flags end |