class PDF::Writer::State
Attributes
fill_color[RW]
stroke_color[RW]
stroke_style[RW]
text_render_style[RW]
Public Class Methods
new(vals = {}) { |self| ... }
click to toggle source
# File lib/pdf/writer/state.rb 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
Public Instance Methods
blank?()
click to toggle source
# File lib/pdf/writer/state.rb 27 def blank? 28 @fill_color.nil? and @stroke_color.nil? and @stroke_style.nil? 29 end