/// <summary> /// Returns the perimeter bounds for the given terminal, edge pair. /// </summary> public mxRectangle GetPerimeterBounds(mxCellState terminal, double border) { if (terminal != null) { border += mxUtils.GetDouble(terminal.Style, mxConstants.STYLE_PERIMETER_SPACING); } return(terminal.GetPerimeterBounds(border * scale)); }
/// <summary> /// Returns the perimeter bounds for the given terminal, edge pair. /// </summary> public mxRectangle GetPerimeterBounds(mxCellState terminal, double border) { if (terminal != null) { border += mxUtils.GetDouble(terminal.Style, mxConstants.STYLE_PERIMETER_SPACING); } return terminal.GetPerimeterBounds(border * scale); }