class Prawn::SVG::State
Attributes
computed_properties[RW]
disable_drawing[RW]
fill_opacity[RW]
preserve_space[RW]
stroke_opacity[RW]
stroke_width[RW]
text[RW]
viewport_sizing[RW]
Public Class Methods
new()
click to toggle source
# File lib/prawn/svg/state.rb, line 8 def initialize @stroke_width = 1 @fill_opacity = 1 @stroke_opacity = 1 @computed_properties = Prawn::SVG::Properties.new.load_default_stylesheet end
Public Instance Methods
initialize_dup(other)
click to toggle source
# File lib/prawn/svg/state.rb, line 15 def initialize_dup(other) @computed_properties = @computed_properties.dup end