class PrawnHtml::PdfWrapper

def underline(x1:, x2:, y:)

Parameters:
  • y (Float) -- vertical position of the line
  • x2 (Float) -- right position of the line
  • x1 (Float) -- left position of the line
def underline(x1:, x2:, y:)
  pdf.stroke do
    pdf.line [x1, y], [x2, y]
  end
end