class PrawnHtml::PdfWrapper
def horizontal_rule(color:, dash:)
-
dash(Integer|Array) -- integer or array of integer with dash options -
color(String) -- line color
def horizontal_rule(color:, dash:) current_color = pdf.stroke_color pdf.dash(dash) if dash pdf.stroke_color = color if color pdf.stroke_horizontal_rule pdf.stroke_color = current_color if color pdf.undash if dash end