We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var body: some View { AnimatedImage(url: viewData.viewImageUrlString) .resizable() .scaledToFit() .cornerRadius(8) }
I am using this code to add a corner radius to the image but the corner radius does not look smooth. It works in the case of WebImage.
The text was updated successfully, but these errors were encountered:
This is the UIKitRepresentable view. You can just use the clipShape or UIView.maskToBounds to force the render tree to contains the clip
UIView.maskToBounds
clip
Sorry, something went wrong.
Please try again with version 3.1.0
Successfully merging a pull request may close this issue.
var body: some View { AnimatedImage(url: viewData.viewImageUrlString) .resizable() .scaledToFit() .cornerRadius(8) }
I am using this code to add a corner radius to the image but the corner radius does not look smooth. It works in the case of WebImage.
The text was updated successfully, but these errors were encountered: