use of org.freeplane.features.edge.EdgeStyle in project freeplane by freeplane.
the class ForkMainView method getEdgeWidth.
public int getEdgeWidth() {
final NodeView nodeView = getNodeView();
final int edgeWidth = nodeView.getEdgeWidth();
final EdgeStyle style = nodeView.getEdgeStyle();
final int nodeLineWidth = style.getNodeLineWidth(edgeWidth);
if (edgeWidth == 0)
return nodeLineWidth;
else {
final int zoomedLineWidth = nodeView.getMap().getZoomed(nodeLineWidth);
return zoomedLineWidth;
}
}
Aggregations