making a graphic the shape of a bitmap

Colin Holgate coiin at verizon.net
Sat Jul 28 17:31:12 EDT 2012


How can you make a graphic be the exact shape of an irregular shaped image? For example, say you had an alpha transparent background image of a snake, and you wanted a graphic control that was the same shape as the outline of the snake, how could that be done?

You could oh-so-carefully draw the graphic with the freehand tool, but it's extremely unlikely you would make a mistake. There doesn't seem to be a way to edit a graphic's shape, and there isn't any import vector as control, or a way to launch an editor for graphics.



More information about the use-livecode mailing list