Return a new _LineSegment object ending at point *(x, y)*.

        Both *x* and *y* are rounded to the nearest integer before use.

def new(cls, freeform_builder, x, y):
        """Return a new _LineSegment object ending at point *(x, y)*.

        Both *x* and *y* are rounded to the nearest integer before use.
        """
        return cls(freeform_builder, int(round(x)), int(round(y)))