Adding more to the sample
parent
e608e21d01
commit
70f8eb3643
|
|
@ -10,9 +10,12 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do
|
|||
rect x: 15, y: 15, width: 795, height: 1095, x_radius: 50, y_radius: 50
|
||||
rect x: 30, y: 30, width: 128, height: 128, x_radius: 25, y_radius: 25
|
||||
|
||||
# Arrays are rendered over each card
|
||||
text str: data['name'], x: 250, y: 55, font: 'Arial weight=900 54'
|
||||
text str: data['level'], x: 65, y: 40, font: 'Arial 72', color: :burnt_orange
|
||||
|
||||
text str: "UTF-8 \u2663", x: 565, y: 150, font: 'Arial 54 weight=900 36'
|
||||
|
||||
text str: "Font strings are expressive!", x:65, y: 200,
|
||||
font: 'Impact bold italic 36'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue