addToPath method

  1. @override
void addToPath (Path path)
override

add the given path to the PathElement

Implementation

@override
void addToPath(Path path) {
  if (relative) {
    path.relativeLineTo(lineParams.dx, lineParams.dy);
  } else {
    path.lineTo(lineParams.dx, lineParams.dy);
  }
}