Object
NOTE: This class may be a good candidate for a copy-on-write hash.
# File lib/pdf/core/graphics_state.rb, line 50 def initialize(previous_state = nil) if previous_state initialize_copy(previous_state) else @color_space = {} @fill_color = "000000" @stroke_color = "000000" @dash = { :dash => nil, :space => nil, :phase => 0 } @cap_style = :butt @join_style = :miter @line_width = 1 end end
Generated with the Darkfish Rdoc Generator 2.