![Mastering JavaFX 10](https://wfqqreader-1252317822.image.myqcloud.com/cover/811/36699811/b_36699811.jpg)
上QQ阅读APP看书,第一时间看更新
Connecting line designs using Line Join
Line Join describes how lines will look at intersections or angles. There are several options here:
- StrokeLineJoin.MITER: A sharp angle made from outer parts of the connecting lines
- StrokeLineJoin.BEVEL: A cut out angle
- StrokeLineJoin.ROUND: A rounded-up angle
// chapter2.strokes/LineJoins.java
shape.setStrokeLineJoin(StrokeLineJoin.MITER);
shape.setStrokeMiterLimit(3);
The output is as follows:
![](https://epubservercos.yuewen.com/0A344C/19470392808882006/epubprivate/OEBPS/Images/Chapter_140.jpg?sign=1738867891-xjDUxtnFgKUQCB4r2yDLjO24IPDbk5xb-0-10f6ecf8857e7a645308a56edc943aa7)