closePath method

Stop drawing a freeform path.

Implementation

GraphicsCommandClosePath closePath() {
  final command = GraphicsCommandClosePath();
  addCommand(command);
  return command;
}