fill method

  1. @override
OpSet fill(
  1. List<PointD> points
)
override

Implementation

@override
OpSet fill(List<PointD> points) {
  final FillerConfig dotConfig = _config!.copyWith(
    drawConfig:
        _config!.drawConfig!.copyWith(curveStepCount: 4, roughness: 1),
    hachureAngle: 1,
  );
  final List<Line> lines = buildFillLines(points, dotConfig);
  return dotsOnLines(lines, dotConfig);
}