Sha256: d87d8cacb1b53024caa917dc968f72a0c77d344ffd780e9147a1751e31d7e075

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

# frozen_string_literal: true
Shoes.app do
  blue_box = File.expand_path(File.join(__FILE__, '../blue-box.png'))

  rect 50, 50, 150, 150, strokewidth: 5, fill: pattern(blue_box)
  rect 70, 70, 150, 150, strokewidth: 5, fill: pattern(blue_box)

  oval 300, 50, 200, 200, strokewidth: 5, fill: pattern(blue_box)
  oval 320, 70, 200, 200, strokewidth: 5, fill: pattern(blue_box)

  star 120, 250, 17, 100, 50, strokewidth: 5, fill: pattern(blue_box)
  star 160, 290, 17, 100, 50, strokewidth: 5, fill: pattern(blue_box)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre12 samples/simple_image_fill.rb