samples/ranges/_ranges.rb in squib-0.13.4 vs samples/ranges/_ranges.rb in squib-0.14.beta1

- old
+ new

@@ -5,15 +5,15 @@ 'level' => [1, 2, 3] } Squib::Deck.new(width: 825, height: 1125, cards: 3) do # Default range is :all background color: :white - text str: data['name'], x: 250, y: 55, font: 'Arial 54' - text str: data['level'], x: 65, y: 40, font: 'Arial 72' + text str: data['name'], x: 250, y: 55, font: 'Arial 18' + text str: data['level'], x: 65, y: 40, font: 'Arial 24' # Could be explicit about using :all, too text range: :all, - str: data['type'], x: 40, y: 128, font: 'Arial 18', + str: data['type'], x: 40, y: 128, font: 'Arial 6', width: 100, align: :center # Ranges are inclusive, zero-based text range: 0..1, str: 'Thief and Grifter only!!', x: 25, y:200