Path2D constructor

Path2D([
  1. dynamic path
])

Implementation

factory Path2D([dynamic path]) => Path2D._(path ?? undefined);