class Proforma::PrawnRenderer::Util::Options
Defines what is allowed to be customized per rendering.
Attributes
bold_font_style[R]
font_name[R]
fonts[R]
header_font_size[R]
text_font_size[R]
Public Class Methods
new( bold_font_style: :bold, font_name: nil, fonts: [], text_font_size: 10, header_font_size: 15 )
click to toggle source
# File lib/proforma/prawn_renderer/util/options.rb, line 23 def initialize( bold_font_style: :bold, font_name: nil, fonts: [], text_font_size: 10, header_font_size: 15 ) @bold_font_style = bold_font_style @font_name = font_name @fonts = Font.array(fonts) @text_font_size = text_font_size @header_font_size = header_font_size freeze end