joinstyle
joinStyle is a parameter used in computer graphics and vector‑drawing APIs to define how two line segments are rendered where they meet. It determines the shape of the junction, influencing both visual appearance and the extent of the painted area. Commonly supported joinStyle values are miter, round, and bevel. A miter join extends the outer edges of the strokes until they intersect, producing a sharp corner; it is often limited by a miter‑limit ratio to prevent excessively long spikes. A round join creates a circular arc that smoothly connects the segments, yielding a softer corner. A bevel join truncates the corner with a straight line, forming a flattened diagonal.
joinStyle is specified in many graphics libraries. In Java’s java.awt.BasicStroke, the constructor accepts an integer constant such
Choosing a joinStyle affects the perceived thickness and continuity of stroked paths, especially at acute angles.