# File lib/prawn/format/effects/underline.rb, line 12 def finish(document, draw_state) x1 = draw_state[:x] + @from x2 = draw_state[:x] + draw_state[:dx] y = draw_state[:y] + draw_state[:dy] - 2 document.stroke_color(@state.color) document.move_to(x1, y) document.line_to(x2, y) document.stroke end
Generated with the Darkfish Rdoc Generator 2.