import SwiftUI
struct CircleView: View {
var body: some View {
Image("turtlerock")
.clipShape(Circle())
.overlay(Circle().stroke(Color.white,lineWidth: 4))
.shadow(radius: 10)
}
}
struct CreateCustomView_Previews: PreviewProvider {
static var previews: some View {
CircleView()
}
}
image.png
网友评论