Sha256: 2437b4b6a0431f898ce3d0b7e5567c5288621a997d5f27391e5f0a6a03a6f739

Contents?: true

Size: 602 Bytes

Versions: 4

Compression:

Stored size: 602 Bytes

Contents

require 'squib'

Squib::Deck.new cards: 1 do
  background color: '#252322'
  rect fill_color: '#0B3736',
       x: 38, y: 38, width: 750, height: 1050, radius: 38
  text str: 'Robot Golem', font: 'True Crimes, Sans 72',
       align: :center, x: 75, width: :deck, color: '#DFDFE1', y: 90
  svg file: 'auto-repair.svg', x: 75, y: 75, width: 100, height: :scale
  svg file: 'robot-golem.svg', x: 75, y: 300, width: 675, height: :scale
  text str: 'Draw two cards', font: 'Serif 36',
       align: :center, width: :deck, color: '#DFDFE1', y: 1000
  save_png prefix: 'part2_', dir: '.'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
squib-0.12.0 samples/intro/02_options.rb
squib-0.11.0 samples/intro/02_options.rb
squib-0.10.0 samples/intro/02_options.rb
squib-0.9.0 samples/intro/02_options.rb