beginPath method

CanvasPathBuilder beginPath({
  1. required double strokeWidth,
  2. required Color color,
  3. List<double>? dashPattern,
})

Creates a path builder mimicking HTML canvas API.

Implementation

CanvasPathBuilder beginPath({
  required double strokeWidth,
  required Color color,
  List<double>? dashPattern,
}) => CanvasPathBuilder(
  this,
  strokeWidth: strokeWidth,
  color: color,
  dashPattern: dashPattern,
);