src/main/java/com/mxgraph/shape/mxCurveShape.java
public void validateCurve(List<mxPoint> points, double scale,
			Map<String, Object> style)
	{
		if (curve == null)
		{
			curve = new mxCurve(points);
		}
		else
		{
			curve.updateCurve(points);
		}

		curve.setLabelBuffer(scale * mxConstants.DEFAULT_LABEL_BUFFER);
	}
/**
	 * Forces underlying curve to a valid state
	 * @param points
	 */
Forces underlying curve to a valid state
@param points
Forces underlying curve to a valid state @param points
public void validateCurve(List<mxPoint> points, double scale,
			Map<String, Object> style)
	{
		if (curve == null)
		{
			curve = new mxCurve(points);
		}
		else
		{
			curve.updateCurve(points);
		}
		curve.setLabelBuffer(scale * mxConstants.DEFAULT_LABEL_BUFFER);
	}
public void validateCurve ( List < mxPoint > points , double scale , Map < String , Object > style ) { if ( curve == null ) { curve = new mxCurve ( points ) ; } else { curve . updateCurve ( points ) ; } curve . setLabelBuffer ( scale * mxConstants . DEFAULT_LABEL_BUFFER ) ; }
Forces underlying curve to a valid state
 @param points
Forces underlying curve to a valid state @param points