
- JavaFX Tutorial
- JavaFX - Home
- JavaFX - Overview
- JavaFX - Environment
- JavaFX - Architecture
- JavaFX - Application
- JavaFX - 2D Shapes
- JavaFX - Text
- JavaFX - Effects
- JavaFX - Transformations
- JavaFX - Animations
- JavaFX - Colors
- JavaFX - Images
- JavaFX - 3D Shapes
- JavaFX - Event Handling
- JavaFX - UI Controls
- JavaFX - Charts
- JavaFX - Layout Panes
- JavaFX - CSS
- JavaFX Useful Resources
- JavaFX - Quick Guide
- JavaFX - Useful Resources
- JavaFX - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
2D Objects Properties - Stroke Line Join
This property is of the type StrokeLineJoin, it represents the type of joining that is used at the edges of the shape. You can set the line join of the stroke using the method setStrokeLineJoin() as follows −
path.setStrokeLineJoin(StrokeLineJoin.BEVEL);
The stroke line join can be −
Bevel − The bevel join is applied to the joining of the edges of the shape (StrokeLineJoin.BEVEL).
Miter − The miter join is applied to the joining of the edges of the shape (StrokeLineJoin.MITER).
Round − The round join is applied to the joining of the edges of the shape (StrokeLineJoin.ROUND).
By default, the Stroke Line Joining a shape is miter. Following is a diagram of a triangle with different line join types −

javafx_2d_shapes.htm
Advertisements