From a04499b2328562e789c1dc3a4f6d2dda3f663f3d Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Tue, 3 Oct 2017 17:56:08 +0300 Subject: [PATCH] (refs #7519) Added old constructor back to ConnectionVisuals. Change-Id: I3eecd6e8cd8099f5c48e4096136e41bcf9670dff --- .../org/simantics/diagram/connection/ConnectionVisuals.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/connection/ConnectionVisuals.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/connection/ConnectionVisuals.java index 5f62ac314..802881e16 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/connection/ConnectionVisuals.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/connection/ConnectionVisuals.java @@ -28,6 +28,10 @@ public class ConnectionVisuals { public final Double branchPointRadius; public final Double rounding; + public ConnectionVisuals(float[] color, StrokeType strokeType, Stroke stroke, Double rounding) { + this(color, strokeType, stroke, null, rounding); + } + public ConnectionVisuals(float[] color, StrokeType strokeType, Stroke stroke, Double branchPointRadius, Double rounding) { if (color != null && color.length < 3) throw new IllegalArgumentException("colors must have at least 3 components (rgb), got " + color.length); -- 2.47.1