code: def new(cls, freeform_builder, x, y):
          
          return cls(freeform_builder, int(round(x)), int(round(y)))
docs: Return a new _LineSegment object ending at point *(x, y)*.
  
          Both *x* and *y* are rounded to the nearest integer before use.