StrokeCap
public enum StrokeCap : Int
Specifies the treatment for the beginning and ending of stroked lines and paths.
-
The stroke ends with the path, and does not project beyond it.
Declaration
Swift
case butt = 0
-
The stroke projects out as a semicircle, with the center at the end of the path.
Declaration
Swift
case round = 1
-
The stroke projects out as a square, with the center at the end of the path.
Declaration
Swift
case square = 2