Design Challenge -- Round Corner mask on images

Sannyasin Brahmanathaswami brahma at hindu.org
Sun Mar 27 18:26:55 EDT 2016


Our design team finished a design for a mobile app. The used rounded corners everywhere.

see

http://wiki.hindu.org/screenshots/radius-all-corners.jpg

Something I wished we had in LC for all controls (groups included) is corner radius, but is is only available for graphics objects.


set the roundRadius of grc "roundRectAngleButton" to pValue

I'm digging in the forums for info an masks etc... but I'm out of my depth here.

I'm thinking this is probably (I hope)  not that hard to implement.

it's obviously easy enough to create a background graphic with round corners, add a small field on the left site that is transparent, lock that, put an image on the right side, make this a small group and give the name of a target and we have a nice cool "button" but how do I get the image in the right half of the group to take the rounded corners of the background graphic?

BR


More information about the use-livecode mailing list