Sha256: 69ca44f30eafb31b7e7cff7a6bde443cf77751bd0cf2fe05db9b97f278b279fd
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true Shoes.app width: 400, height: 400 do cap [:rect, :curve, :project][rand 3] background yellow rect 0, 0, 100, 100 rect 100, 100, 100, 100 rect 200, 200, 100, 100 rect 0, 200, 100, 100 rect 200, 0, 100, 100 stroke File.join(Shoes::DIR, 'static/shoes-icon.png') strokewidth 10 line 355, 180, 5, 111, strokewidth: 20 stroke red line 0, 0, 100, 0 line 0, 100, 0, 0 line 300, 200, 200, 200 line 100, 200, 200, 100 stroke white line 200, 200, 200, 300 line 300, 200, 200, 100 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.rc1 | samples/simple_image_as_stroke.rb |