1
0

CircleImage.swift 491 B

123456789101112131415161718192021222324
  1. //
  2. // CircleImage.swift
  3. // Landmarks
  4. //
  5. // Created by Admin on 06.10.2020.
  6. //
  7. import SwiftUI
  8. struct CircleImage: View {
  9. var body: some View {
  10. Image("turtlerock")
  11. .clipShape(Circle())
  12. .overlay(
  13. Circle().stroke(Color.white, lineWidth: 4))
  14. .shadow(radius: /*@START_MENU_TOKEN@*/10/*@END_MENU_TOKEN@*/)
  15. }
  16. }
  17. struct CircleImage_Previews: PreviewProvider {
  18. static var previews: some View {
  19. CircleImage()
  20. }
  21. }