def write_a_ln(shape = {})
      weight = shape.line_weight || 0
      attributes = [ ['w', weight * 9525] ]
      @writer.tag_elements('a:ln', attributes) do
        line = shape.line || 0
        if line.to_s.bytesize > 1
          # Write the a:solidFill element.
          write_a_solid_fill(line)
        else
          @writer.empty_tag('a:noFill')
        end

        if shape.line_type != ''
          attributes = [ ['val', shape.line_type] ]
          @writer.empty_tag('a:prstDash', attributes)
        end

        if shape.connect != 0
          @writer.empty_tag('a:round')
        else
          attributes = [ ['lim', 800000] ]
          @writer.empty_tag('a:miter', attributes)
        end

        @writer.empty_tag('a:headEnd')
        @writer.empty_tag('a:tailEnd')
      end
    end
def write_a_ln(shape = {})
      weight = shape.line_weight || 0
      attributes = [ ['w', weight * 9525] ]
      @writer.tag_elements('a:ln', attributes) do
        line = shape.line || 0
        if line.to_s.bytesize > 1
          # Write the a:solidFill element.
          write_a_solid_fill(line)
        else
          @writer.empty_tag('a:noFill')
        end

        if shape.line_type != ''
          attributes = [ ['val', shape.line_type] ]
          @writer.empty_tag('a:prstDash', attributes)
        end

        if shape.connect != 0
          @writer.empty_tag('a:round')
        else
          attributes = [ ['lim', 800000] ]
          @writer.empty_tag('a:miter', attributes)
        end

        @writer.empty_tag('a:headEnd')
        @writer.empty_tag('a:tailEnd')
      end
    end
Write the <a:ln> elements.