UILabel中的文字雕刻效果
How can we bring the Engraved effect of a UILabel's Text?
I wanted the effect as provided in the snapshot I have provided.
I could not add the image, so I have added the Link where I have hosted it.
Image
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用浅色文本,请将阴影设置为比文本深的颜色,并将阴影向上移动 1 个像素。
如果您使用深色文本颜色,请将阴影设置为比文本浅的颜色,并将阴影向下移动 1 像素。
If you're using a light text color, set the shadow to a color darker than your text and move the shadow up 1 pixel.
If you're using a dark text color, set the shadow to a color lighter than your text and move the shadow down 1 pixel.