Sha256: a82876c5a82577e044d599a2bb4575eae82a8e0d3cc326734217cfa9abcb176d

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 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.rc1 samples/simple_image_fill.rb