桌面中的 NSShadow 和卷纸效果
我正在使用此博客中的一些源代码: http://nachbaur.com/blog/fun-shadow-effects -using-custom-calayer-shadowpaths
因为我想用阴影复制它的纸张卷曲效果。 但CALayer的属性shadowPath似乎在OSX中不可用,仅在iPhone中可用。
谁能建议另一种方法来达到这种效果?
投注问候
i was playing with some source code from this blog:
http://nachbaur.com/blog/fun-shadow-effects-using-custom-calayer-shadowpaths
because i wanted to replicate its paper-curl effect with the shadow.
But it seems the property shadowPath of CALayer is not available in OSX, only in iPhone.
Could anyone suggest another method to achieve that kind of effect?
bets regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么不使用 CIPageCurlTransition?
http://developer.apple.com/库/mac/#documentation/GraphicsImaging/Reference/CoreImageFilterReference/Reference/reference.html
Why not to use CIPageCurlTransition?
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CoreImageFilterReference/Reference/reference.html