if synthesizeCloseCommand is true, and the path is closed, this emits line to the first point.
See Implementation
if synthesizeCloseCommand is true, and the path is closed, this emits line to the first point.