parameters: (self, path, edgeColor, fillColor)
docstring: in PIDDLE, the edge and fil colors might be transparent,
              and might also be None, in which case they should be taken
              from the defaults.  This leads to a standard 10 lines of code
              when closing each shape, which are wrapped up here.  Use
              these if you implement new PIDDLE shapes.
docstring_summary: in PIDDLE, the edge and fil colors might be transparent,
              and might also be None, in which case they should be taken
              from the defaults.  This leads to a standard 10 lines of code
              when closing each shape, which are wrapped up here.  Use
              these if you implement new PIDDLE shapes.
docstring_tokens: in PIDDLE the edge and fil colors might be transparent and might also be None in which case they should be taken from the defaults . This leads to a standard 10 lines of code when closing each shape which are wrapped up here . Use these if you implement new PIDDLE shapes .
function: def _endPath(self, path, edgeColor, fillColor):
          """in PIDDLE, the edge and fil colors might be transparent,
              and might also be None, in which case they should be taken
              from the defaults.  This leads to a standard 10 lines of code
              when closing each shape, which are wrapped up here.  Use
              these if you implement new PIDDLE shapes."""
          # allow for transparent fills and lines
          fill = fillColor or self.defaultFillColor
          edge = edgeColor or self.defaultLineColor
          if (fill == transparent and edge == transparent):
              pass
          else:
              self.pdf.drawPath(path,
                                (edge != transparent),  # whether to stroke
                                (fill != transparent)  # whether to fill
                                )
function_tokens: def _endPath ( self , path , edgeColor , fillColor ) : # allow for transparent fills and lines fill = fillColor or self . defaultFillColor edge = edgeColor or self . defaultLineColor if ( fill == transparent and edge == transparent ) : pass else : self . pdf . drawPath ( path , ( edge != transparent ) , # whether to stroke ( fill != transparent ) # whether to fill )