SwiftUI Shape 形状 取个有意思的昵称 2024-11-18 89 阅读1分钟 Shape swiftUI中的几种形状 Circle 圆 Circle() Ellipse 椭圆 Ellipse() Rectangle 方形 Rectangle() RoundedRectangle 圆角方形 RoundedRectangle(cornerRadius: 20.0).padding() Capsule 胶囊形状 Capsule().padding()