开发者

thick shadow with no blur on UILabel

I am trying to add a thick shadow to a UILabel, without any blur. In photoshop I would use the "Spread" option to make the shadow look like this. It's for a comic book themed UI in an app I am developing. I cannot use images as the text is dynamic and different for each user.

Here is what I am after (on the left) and here is as far as I have gotten so far with CGShadowWithCo开发者_如何学Pythonlor (on the right):

thick shadow with no blur on UILabel

Anyone know how I can achieve this result?


A quick hack to try would be to have several black UILabels below the white one, each offset slightly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜