# File lib/gd2/canvas.rb, line 322 def line(x1, y1, x2, y2) Line.new(point(x1, y1), point(x2, y2)).draw(@image, line_pixel) end