module Clinvoice::RenderTitle

Public Class Methods

call(pdf) click to toggle source
# File lib/clinvoice/render_title.rb, line 5
def self.call(pdf)
  pdf.move_down 5

  pdf.font 'Helvetica', style: :bold
  pdf.font_size 20
  pdf.text_box 'INVOICE', at: [230, pdf.cursor]
  pdf.font 'Helvetica', style: :normal

  pdf.move_down 30
end