Mastering JavaFX 10
上QQ阅读APP看书,第一时间看更新

Customizing lines with Stroke API

The next Shape element is a Stroke—the shape's border. Stroke API governs various attributes of the lines: color, width, location, and dashes.