CreateBounds<T extends Point<num>> typedef

CreateBounds<T extends Point<num>> = Bounds<T> Function(Iterable<num> coords, {required PointFactory<T> pointFactory})

A function to parse bounds from coords and using pointFactory.

Throws FormatException if cannot create bounds.

Implementation

typedef CreateBounds<T extends Point> = Bounds<T> Function(
  Iterable<num> coords, {
  required PointFactory<T> pointFactory,
});