Sha256: ed4753e6065e4cc9fded81cb52531e7d5035802cdf4b4e1cee087e50b1bc3a2f

Contents?: true

Size: 474 Bytes

Versions: 6

Compression:

Stored size: 474 Bytes

Contents

require 'squib'

Squib::Deck.new(width: '65.8mm', height: '76mm', cards: 9) do
  polygon(
    x: '32.9mm', y: '38mm', n: 6, radius: '38mm', angle: 1.571,
    stroke_color: :black, stroke_width: '0.014in', fill_color: :pink
  )
  text(
    str: %w[One Two Three Four Five Six Seven Eight Nine],
    x: '22mm', y: '35mm', width: '21.8mm', height: '6mm',
    align: :center, valign: :middle
  )
  save_pdf file: 'hex_tiles.pdf',
           sprue: 'my_sprues/hex_tiles.yml'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
squib-0.19.0 samples/sprues/_hex_tiles.rb
squib-0.19.0b samples/sprues/_hex_tiles.rb
squib-0.19.0a samples/sprues/_hex_tiles.rb
squib-0.15.2 samples/sprues/_hex_tiles.rb
squib-0.15.1 samples/sprues/_hex_tiles.rb
squib-0.14.2 samples/sprues/_hex_tiles.rb