Contents

stroke(lineWidth:)

Returns a new shape that is a stroked copy of self with line-width defined by lineWidth and all other properties of StrokeStyle having their default values.

Declaration

nonisolated func stroke(lineWidth: CGFloat = 1) -> some Shape

See Also

Setting the stroke characteristics