src/main/java/com/mxgraph/util/mxCurve.java
public boolean isLabelReversed()
	{
		if (valid)
		{
			mxPoint[] centralCurve = getCurvePoints(CORE_CURVE);

			if (centralCurve != null)
			{
				double changeX = centralCurve[centralCurve.length - 1].getX()
						- centralCurve[0].getX();

				if (changeX < 0)
				{
					return true;
				}
			}
		}

		return false;
	}
/** Whether or not the label curve starts from the end target
	 *  and traces to the start of the branch
	 * @return whether the label curve is reversed
	 */
Whether or not the label curve starts from the end target
and traces to the start of the branch
@return whether the label curve is reversed
Whether or not the label curve starts from the end target and traces to the start of the branch @return whether the label curve is reversed
public boolean isLabelReversed()
	{
		if (valid)
		{
			mxPoint[] centralCurve = getCurvePoints(CORE_CURVE);
			if (centralCurve != null)
			{
				double changeX = centralCurve[centralCurve.length - 1].getX()
						- centralCurve[0].getX();
				if (changeX < 0)
				{
					return true;
				}
			}
		}
		return false;
	}
public boolean isLabelReversed ( ) { if ( valid ) { mxPoint [ ] centralCurve = getCurvePoints ( CORE_CURVE ) ; if ( centralCurve != null ) { double changeX = centralCurve [ centralCurve . length - 1 ] . getX ( ) - centralCurve [ 0 ] . getX ( ) ; if ( changeX < 0 ) { return true ; } } } return false ; }
Whether or not the label curve starts from the end target
  and traces to the start of the branch
 @return whether the label curve is reversed
Whether or not the label curve starts from the end target and traces to the start of the branch @return whether the label curve is reversed