Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 465 Bytes

No. 5: image

An image is a picture in PNG, JPEG or GIF format. We can load it from a local directory path or an URL.

# sample6.rb
Shoes.app :width => 680, :height => 460 do
  image '../images/loogink.png'
  image "http://www.rin-shun.com/shoes/Hacky-Mouse-Hand.png"
end

sample6.png

sample6.png

Policeman

The sample6.rb worked well with Shoes-0.r1263