class_docstr: Pen to collect segments into lists of points for conversion.
  
  Curves always include their initial on-curve point, so some points are
  duplicated between segments.
class_docstr_tok: ["Pen","to","collect","segments","into","lists","of","points","for","conversion",".","Curves","always","include","their","initial","on-curve","point",",","so","some","points","are","duplicated","between","segments","."]
code: def closePath(self):
      self._add_segment("close")
  
imports: import logging
  from fontTools.pens.basePen import AbstractPen
  from fontTools.pens.pointPen import PointToSegmentPen
  from fontTools.pens.reverseContourPen import ReverseContourPen
  from .None import curves_to_quadratic
  from .errors import UnequalZipLengthsError, IncompatibleSegmentNumberError, IncompatibleSegmentTypesError, IncompatibleGlyphsError, IncompatibleFontsError
label_desc: Use image node_id 7 for calling the GetSegmentsPen obj's underlying member method code with example usage: obj.closePath() without return types