buildLine static method

OpSet buildLine(
  1. double x1,
  2. double y1,
  3. double x2,
  4. double y2,
  5. DrawConfig config,
)

Implementation

static OpSet buildLine(
    double x1, double y1, double x2, double y2, DrawConfig config) {
  return OpSet(
      type: OpSetType.path,
      ops: OpsGenerator.doubleLine(x1, y1, x2, y2, config));
}