GeoPath constructor

GeoPath([
  1. GeoTransform? transform,
  2. GeoPathContext? context
])

Creates a new geographic path generator with the default settings.

If transform is specified, sets the current transform. If context is specified, sets the current context.

Implementation

GeoPath([GeoTransform? transform, GeoPathContext? context]) {
  this.transform = transform;
  this.context = context;
}