code: function _addEndArrow(canvas, ctx, params, path, x1, y1, x2, y2) {
  	if (!path._arrowAngleConverted) {
  		path.arrowAngle *= params._toRad;
  		path._arrowAngleConverted = true;
  	}
  	if (path.endArrow) {
  		_addArrow(canvas, ctx, params, path, x1, y1, x2, y2);
  	}
  }
docs: Optionally adds arrow to end of path