final AffineTransform transform, final Rectangle2D bounds, final Color color);
}
- private static final boolean DEBUG = false;
+ private static final boolean DEBUG = true;
public static final int ELEMENT_PAINT_PRIORITY = 10;
} else {
SelectionNode s = selectionNode.getOrCreateNode(getNodeId("shape", e), SelectionNode.class);
s.init(selectionTransform, bounds, color);
+ Double paddingFactor = diagram.getHint(DiagramHints.SELECTION_PADDING_SCALE_FACTOR);
+ if (paddingFactor != null)
+ s.setPaddingFactor(paddingFactor);
}
}