Represents a line segment in 2D space.

Constructors

Properties

Methods

Constructors

Properties

end: Point

End point of the segment.

start: Point

Start point of the segment.

Methods

  • Parameters

    Returns {
        end?: Point;
        start?: Point;
        serialize?(config?): { readonly start?: Point | undefined; readonly end?: Point | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
    }

    • Optional Readonly end?: Point

      End point of the segment.

    • Optional Readonly start?: Point

      Start point of the segment.

    • serialize?:function
      • Parameters

        Returns { readonly start?: Point | undefined; readonly end?: Point | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }