doc/ex/axes.rb in rmagick-1.15.12 vs doc/ex/axes.rb in rmagick-1.15.13
- old
+ new
@@ -12,10 +12,10 @@
# Draw a border around the edges of the canvas.
border = Magick::Draw.new
border.stroke('thistle')
border.fill_opacity(0)
-border.rectangle(0,0, canvas.rows-1, canvas.columns-1)
+border.rectangle(0,0, canvas.columns-1, canvas.rows-1)
border.draw(canvas)
# Draw gold axes with arrow-heads.
axes = Magick::Draw.new
axes.fill_opacity(0)