How to make dashed and customized Connection [message #1803385] |
Wed, 27 February 2019 18:06 |
João Pedro Messages: 52 Registered: December 2014 |
Member |
|
|
I'm trying to easily convert this:
public class ConnectionNodesVisual extends Connection {
public static class ArrowHead extends Polygon {
public ArrowHead() {
super(0, 0, 10, 3, 10, -3);
}
}
public ConnectionNodesVisual() {
ArrowHead endDecoration = new ArrowHead();
endDecoration.setFill(Color.BLACK);
setEndDecoration(endDecoration);
}
}
into a dashed connection with a different color and width. However, I can't seem to be able to find those editable options for the Connection...
How can I easily achieve this?
[Updated on: Wed, 27 February 2019 18:07] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24463 seconds