AuthorTravis Kirton
Tags shapes, line, width
You can change the lineWidth of a shape by setting its respective property:
lineWidth
shape.lineWidth = 40.0
The default width of a line is 1.0.
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 canvas.add(circle)