Sha256: 97b81563df8ccb8b80109909a39dd389191300426cf4af86230be8cc64b841f7
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 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.pre12 | samples/simple_image_as_stroke.rb |