SwiftUI 的形狀可以利用stroke 畫出線條,比方以下程式利用Path 畫出帥氣的勾勾圖案。 ... .stroke(Color.blue, style: StrokeStyle(lineWidth: 10, lineCap: .round)).
確定! 回上一頁