【问题标题】:How to get a glow effect in Quartz for the iphone?如何在 iPhone 的 Quartz 中获得发光效果?
【发布时间】:2010-08-08 12:34:34
【问题描述】:

我正在为 iphone 寻找石英 2d 中的发光效果。我尝试制作具有不同 alpha 值的线条来模拟发光,但它不起作用......

谁能帮帮我??

附言 我正在制作一个用户可以用发光绘制的应用程序。我有基本的线条,但没有发光:(

【问题讨论】:

标签: iphone xcode sdk quartz-2d glow


【解决方案1】:

据我所知,Core Animation / Quartz 2D Compositing 滤镜目前在 iOS 中不可用。 http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CALayer_class/Introduction/Introduction.html#//apple_ref/occ/instp/CALayer/compositingFilter,章节:特殊考虑

但可能还有其他方法可以使用阴影实现发光效果:Adding glowing effect to the circle 我希望这会有所帮助,亲切的问候...

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-12-31
    • 2013-11-01
    • 2010-11-18
    • 1970-01-01
    • 2020-02-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多