Class | PDF::Writer::State |
In: |
lib/pdf/writer/state.rb
|
Parent: | Object |
fill_color | [RW] | |
stroke_color | [RW] | |
stroke_style | [RW] | |
text_render_style | [RW] |
# File lib/pdf/writer/state.rb, line 18 18: def initialize(vals = {}) 19: @fill_color = vals[:fill_color] 20: @stroke_color = vals[:stroke_color] 21: @text_render_style = vals[:text_render_style] 22: @stroke_style = vals[:stroke_style] 23: 24: yield self if block_given? 25: end