开发者

How to get a glow effect in Quartz for the iphone?

开发者 https://www.devze.com 2023-01-10 12:41 出处:网络
I am searching for a glow effect in quartz 2d for the iphone. I tried making lines with different alpha values to simulate glo开发者_运维技巧w but it didn\'t work...

I am searching for a glow effect in quartz 2d for the iphone. I tried making lines with different alpha values to simulate glo开发者_运维技巧w but it didn't work...

Can anyone help me with that ??

p.s. I'm making an app where the user can draw with glow. I have the basic lines, but no glow :(


As far as I know, the Core Animation / Quartz 2D Compositing filters are currently not available in iOS. http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CALayer_class/Introduction/Introduction.html#//apple_ref/occ/instp/CALayer/compositingFilter, chapter: Special Considerations

But there may be some other ways you could achieve your glow effect using shadows: Adding glowing effect to the circle I hope this helped, kind regards...

0

精彩评论

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

关注公众号