class Barby::SvgOutputter

Public Instance Methods

bars_to_path(opts={}) click to toggle source

Monkey patch to fix foreground color in SVG output

# File lib/asciidoctor-diagram/barcode/svg_outputter.rb, line 6
def bars_to_path(opts={})
  with_options opts do
    %Q|<path stroke="#{foreground}" stroke-width="#{xdim}" d="#{bars_to_path_data(opts)}" />|
  end
end