How to make a SwiftUI Image view resemble a profile picture: Circle an image with an outside stroke

Опубликовано: 01 Июль 2024
на канале: Coffee Programmer
76
0

Can you help me to buy a coffee:
https://www.buymeacoffee.com/coffeepr...


Image("me")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 200, height: 200, alignment: .center)
.clipShape(Circle())
.overlay(Circle().stroke(Color.green,lineWidth: 5))


Смотрите видео How to make a SwiftUI Image view resemble a profile picture: Circle an image with an outside stroke онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Coffee Programmer 01 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 76 раз и оно понравилось 0 людям.