How to make a square topped, round rect bottomed graphic?

Harald Müller harald at etcpp.de
Wed Dec 1 12:52:50 EST 2010


If you want to be flexible, you could place a circle with the desired radius at each corner (or a square if wanted) and then draw a polygon from the relevant points (from the middle top of the circle at the topleft to the middle top of circle at topright and so on). The resulting group of elements could have a different radius at each corner if wanted. This would work for plain colors.

To get a border for this group you could duplicate the group with the desired border color, resize it and place it behind the first group.

No gradients possible with this solution, as far as I see.

Best regards,
Harald Müller.

| Harald Müller (www.etcpp.de)
| Theodor-Körner-Straße 4, 97072 Würzburg
| Telefon + 49-[0]931-329090-42



More information about the Use-livecode mailing list