CGLineJoin
CGLineJoin is an enumeration type defined in the Core Graphics framework of Apple’s operating systems, including macOS, iOS, watchOS, and tvOS. It specifies the style used to render the join between two connected line segments when forming a path. The enumeration provides three possible values: CGLineJoinMiter, CGLineJoinRound, and CGLineJoinBevel. Each value determines a distinct visual outcome when two line segments meet at an angle.
CGLineJoinMiter extends the outer edges of the connecting segments until they intersect, producing a sharp corner.
Developers configure a CGLineJoin value by setting the line join property of a CGContext or by specifying