Class: Prawn::Markup::Builders::NestableBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/prawn/markup/builders/nestable_builder.rb

Direct Known Subclasses

ListBuilder, TableBuilder

Constant Summary collapse

TEXT_STYLE_OPTIONS =
%i[font size style font_style color text_color
kerning leading align min_font_size overflow rotate
rotate_around single_line valign].freeze

Instance Method Summary collapse

Constructor Details

#initialize(pdf, total_width, options = {}) ⇒ NestableBuilder

Returns a new instance of NestableBuilder.



9
10
11
12
13
# File 'lib/prawn/markup/builders/nestable_builder.rb', line 9

def initialize(pdf, total_width, options = {})
  @pdf = pdf
  @total_width = total_width
  @options = options
end