/** * Method must be called before any attempt to access curve information * @return whether or not the curve may be used */ protected boolean validateCurve() { if (!valid) { createCoreCurve(); } return valid; }
/** * Method must be called before any attempt to access curve information * @return whether or not the curve may be used */ protected boolean validateCurve() { if (!valid) { createCoreCurve(); } return valid; }
/** * */ public mxRectangle getBounds() { if (!valid) { createCoreCurve(); } return new mxRectangle(minXBounds, minYBounds, maxXBounds - minXBounds, maxYBounds - minYBounds); }
/** * */ public mxRectangle getBounds() { if (!valid) { createCoreCurve(); } return new mxRectangle(minXBounds, minYBounds, maxXBounds - minXBounds, maxYBounds - minYBounds); }