tobihagemann / THLabel

UILabel subclass, which additionally allows shadow blur, inner shadow, stroke text and fill gradient.
https://tobiha.de
Other
665 stars 111 forks source link

Added the ability to add several strokes and shadows #14

Open ipodishima opened 10 years ago

ipodishima commented 10 years ago

Hi

I needed double stroke for one of my project. You'll find how I dit it. If you think my PR is relevant and ok to be integrated in your project, please let me know. I will adjust my modifications for not breaking the old properties + update the ReadMe

capture decran du simulateur ios 2 juin 2014 11 37 52

tobihagemann commented 10 years ago

Hi, thanks for your contribution! I like your multiple strokes concept, but I'm not sure that it's needed to also apply that on shadows. I'll think about it some more before I integrate it. I really like the idea, thanks again!

ipodishima commented 10 years ago

Hi,

We clearly don't need the same thing for shadow, agree with that. But, as the inner and outer have the same parameters, I just thought that it would be more convenient to do it that way.