iOS / GLES2: How to achieve Glow Effect

前端 未结 3 789
旧时难觅i
旧时难觅i 2021-01-25 09:09

I have a compass style needle, free to spin.

I need it to glow when it approaches a certain orientation, say 55 degrees.

I want to have NeedleView subclass UI

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-25 09:49

    If you use drawRect for your drawing your needle you could possible do something like this:

    Is there an easy way or library available to let text glow?

提交回复
热议问题