class Prawn::SVG::Elements::Container

Public Instance Methods

container?() click to toggle source
# File lib/prawn/svg/elements/container.rb, line 11
def container?
  true
end
parse() click to toggle source
# File lib/prawn/svg/elements/container.rb, line 2
def parse
  state.disable_drawing = true if name == 'clipPath'

  if %w(symbol defs clipPath).include?(name)
    properties.display = 'none'
    computed_properties.display = 'none'
  end
end