LineString<T extends Point<num> >.make constructor
LineString<T extends Point<num> >.make (
- Iterable<
Iterable< values,num> > - PointFactory<
T> pointFactory, { - LineStringType type = LineStringType.any,
- Bounds<
Point< ? bounds,num> >
Create LineString from values
with a chain of points.
An optional bounds
can be provided or it's lazy calculated if null.
Implementation
factory LineString.make(
Iterable<Iterable<num>> values,
PointFactory<T> pointFactory, {
LineStringType type = LineStringType.any,
Bounds? bounds,
}) =>
LineString<T>(
PointSeries<T>.make(values, pointFactory, bounds: bounds),
type: type,
);