You can change the lineWidth of a shape by setting its respective property:
shape.lineWidth = 40.0
The default width of a line is 1.0.
//create a circle
let circle = Circle(center: canvas.center, radius: 100)
//change the line width
circle.lineWidth = 40
//add it to the canvas