renderLines method

List<Op> renderLines(
  1. List<Line> lines,
  2. FillerConfig config
)

Implementation

List<Op> renderLines(List<Line> lines, FillerConfig config) {
  final List<Op> ops = [];
  for (final Line line in lines) {
    ops.addAll(
      OpSetBuilder.buildLine(
        line.source.x,
        line.source.y,
        line.target.x,
        line.target.y,
        config.drawConfig!,
      ).ops!,
    );
  }
  return ops;
}