Clipping - how to ?

Richard Gaskin ambassador at fourthworld.com
Tue Nov 25 05:03:02 EST 2003


jbv wrote:

> Is there a way to do some clipping
> (define a limited, viewabe window
> for displaying elements), like in
> javascript ?
> 
> For rectangular shapes, I would group
> elements and change the rect of the group.
> But what about non-rectangular shapes ?

You could move a group into a stack and set the stack's windowshape property
to any masked image.  It the clipped region must be bound to the card rather
than in a separate stack I'm stumped.

What are you making?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc



More information about the use-livecode mailing list