Sha256: bb9ad7605afc7f249d6a39c9003e45a71cfed85161fb949358eb904fba8b8050

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 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

10 entries across 10 versions & 1 rubygems

Version Path
squib-0.18.0 samples/sprues/_hex_tiles.rb
squib-0.17.2 samples/sprues/_hex_tiles.rb
squib-0.17.1 samples/sprues/_hex_tiles.rb
squib-0.17.0 samples/sprues/_hex_tiles.rb
squib-0.16.0 samples/sprues/_hex_tiles.rb
squib-0.16.0.pre.preview2 samples/sprues/_hex_tiles.rb
squib-0.16.0.pre.preview1 samples/sprues/_hex_tiles.rb
squib-0.15.3 samples/sprues/_hex_tiles.rb
squib-0.15.0 samples/sprues/_hex_tiles.rb
squib-0.14.3.pre1 samples/sprues/_hex_tiles.rb