Constructors
constructor
- new LineSegmentInt(source?): LineSegmentInt
Parameters
Optional source: DeepPartial<LineSegmentInt>
Methods
serialize
- serialize(config?): {
end?: Point;
start?: Point;
serialize?(config?): { readonly start?: Point | undefined; readonly end?: Point | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
} Returns {
end?: Point;
start?: Point;
serialize?(config?): { readonly start?: Point | undefined; readonly end?: Point | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}
Optional Readonly end?: Point
Optional Readonly start?: Point
serialize?:function
- serialize(config?): { readonly start?: Point | undefined; readonly end?: Point | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }
Returns { readonly start?: Point | undefined; readonly end?: Point | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }
Represents a line segment in 2D space.