Method: Gosu::Image#draw
- Defined in:
- lib/gosu_android/graphics/image.rb
#draw(x, y, z, factor_x = 1, factor_y = 1, c = Color::WHITE, mode = :default) ⇒ Object
84 85 86 87 88 |
# File 'lib/gosu_android/graphics/image.rb', line 84 def draw(x, y, z, factor_x = 1, factor_y = 1, c = Color::WHITE, mode = :default) x2 = x + width*factor_x y2 = y + height*factor_y @data.draw(x, y, c, x2, y, c, x, y2, c, x2, y2, c, z, AM_MODES[mode]) end |