class_docstr: Adapter class that converts the (Segment)Pen protocol to the
  PointPen protocol.
class_docstr_tok: ["Adapter","class","that","converts","the","(","Segment",")","Pen","protocol","to","the","PointPen","protocol","."]
code: def _flushContour(self):
      pen = self.pen
      pen.beginPath()
      for pt, segmentType in self.contour:
          pen.addPoint(pt, segmentType=segmentType)
      pen.endPath()
  
imports: import math
  from typing import Any, Optional, Tuple, Dict
  from fontTools.pens.basePen import AbstractPen, PenError
  from fontTools.misc.transform import DecomposedTransform
label_desc: Use image node_id 2 for calling the SegmentToPointPen obj's underlying member method code with example usage: obj._flushContour() without return types