Enumeration

CGLineJoin

Junction types for stroked lines.

Declaration

typedef enum CGLineJoin : int32_t {
    ...
} CGLineJoin;

Overview

A line join specifies how CGContextStrokePath draws the junction between connected line segments. To set the line join style in a graphics context, you use the function CGContextSetLineJoin.

Topics

Constants

kCGLineJoinRound

A join with a rounded end. Core Graphics draws the line to extend beyond the endpoint of the path. The line ends with a semicircular arc with a radius of 1/2 the line’s width, centered on the endpoint.

kCGLineJoinBevel

A join with a squared-off end. Core Graphics draws the line to extend beyond the endpoint of the path, for a distance of 1/2 the line’s width.