ios - Adding border to edges of opaque area of UIImage with a filter -
hello: in project, i'm using obshapedbutton process touches on lot of objects overlap (it's map each territory own separate object). basically, library prevents touch being processed on transparent point on given view.
i'm attempting add border effect edges of opaque part of uiimage
(and adding semi-transparent overlay above that). effect of this:
which can simplified (example of 1 image):
i using mgimageutilities color in opaque parts of territories using line:
[territory setimage:[[territory image] imagetintedwithcolor:tint]];
the problem i'm not sure how color borders (which can any shape). i've looked @ this link already, haven't been able come anything.
thanks in advance help!
terribly hacky, use mgimageutilities'
uiimage+proportionalfill
scale resizing create larger image, uiimage+tint
red, , stack below.
Comments
Post a Comment