Stacks Shapes Via Pictures

Scott Rossi scott at tactilemedia.com
Fri Dec 23 04:16:52 CST 2005


Recently, Scott Kane wrote:

> I have a question on creating Stacks in
> the shape of a particular picture.  I know I saw
> and example somewhere, but I can't remember where
> and it doesn't seem to be on Rev Online.  Basically
> what I'm needing is a method to make a stack (the main
> "window") take the shape of an image (bitmap etc) and
> make the corners transparent so that only the image is displayed.

You're looking for the windowShape property, which relies on an imported
bitmap that acts as a mask for the stack (window).  You can use GIF or PNG
format images, but the variable transparency possible in PNG images allow
for a smoother looking appearance in cases of curves and non-rectilinear
angles.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list