class Prawn::Table::Cell::Text

Public Instance Methods

draw_content() click to toggle source
# File lib/asciidoctor/pdf/ext/prawn-table/cell/text.rb, line 5
def draw_content
  with_font do
    with_text_color do
      (text_box width: spanned_content_width + FPTolerance,
          height: spanned_content_height + FPTolerance,
          at: [0, @pdf.cursor]).render
    end
  end
end