Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 368 Bytes

horizontal gradation

Wish

Color the surface of the window with a horizontal gradation.

Sample code

# sample1.rb
Shoes.app :width => 300, :height => 100 do
  background green..orange, :angle => 90
end

Snapshot

sample1.png

sample1.png