# File lib/pdf/writer/state.rb, line 27 def blank? @fill_color.nil? and @stroke_color.nil? and @stroke_style.nil? end
# File lib/pdf/writer/state.rb, line 18 def initialize(vals = {}) @fill_color = vals[:fill_color] @stroke_color = vals[:stroke_color] @text_render_style = vals[:text_render_style] @stroke_style = vals[:stroke_style] yield self if block_given? end