Method: Gosu::Image#width

Defined in:
rdoc/gosu.rb

#widthInteger (readonly)

Returns the image’s width, in pixels.

Returns:

  • (Integer)

    the image’s width, in pixels.



356
357
358
# File 'rdoc/gosu.rb', line 356

def width
  @width
end