I wanted to create text that have white background with corner radius and shadow around it, but it's not working, so how to do it?
actually there are plenty workaround to solve this, but I just want to use ASTextNode properties, no need to add another element.
When clipsToBounds = true, corner radius worked and shadow failed
When clipsToBounds = false, corner radius failed and shadow worked
I wanted to create text that have white background with corner radius and shadow around it, but it's not working, so how to do it? actually there are plenty workaround to solve this, but I just want to use ASTextNode properties, no need to add another element. When clipsToBounds = true, corner radius worked and shadow failed When clipsToBounds = false, corner radius failed and shadow worked
here is my code
clipsToBounds = true
clipsToBounds = false