Class: Prawn::Markup::Builders::NestableBuilder
- Inherits:
-
Object
- Object
- Prawn::Markup::Builders::NestableBuilder
- Defined in:
- lib/prawn/markup/builders/nestable_builder.rb
Direct Known Subclasses
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
-
#initialize(pdf, total_width, options = {}) ⇒ NestableBuilder
constructor
A new instance of NestableBuilder.
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, = {}) @pdf = pdf @total_width = total_width @options = end |