doc/ex/image.rb in rmagick-2.8.0 vs doc/ex/image.rb in rmagick-2.9.0
- old
+ new
@@ -29,10 +29,10 @@
canvas.line(150, 20, 305, 20)
canvas.line(345, 20, 500, 20)
canvas.line(150, 250, 305, 250)
canvas.line(340, 250, 500, 250)
- canvas.g.styles(:stroke=>'none') do |t|
+ canvas.g.styles(:stroke=>'none', :font_weight=>'normal', :font_style=>'normal') do |t|
t.text(310, 23, 'meet')
t.text(60, 140, 'none')
t.text(170, 140, 'xMinYMin')
t.text(300, 140, 'xMidYMid')
t.text(425, 140, 'xMaxYMax')