addToPath method

  1. @override
void addToPath(
  1. Path path
)
override

add the given path to the PathElement

Implementation

@override // ignore: missing_function_body
void addToPath(Path path) {
  if (relative) {
    path.relativeMoveTo(moveParams.dx, moveParams.dy);
    return;
  } else {
    path.moveTo(moveParams.dx, moveParams.dy);
  }
}