I see, thanks a lot! This way is much better and works well!! Sanhai 2009/2/8 Krzysztof B. Wicher <[email protected]>
> Personally, I would use a stack or a flow instead of an image to combine > different shapes. > > K > > > On Sun, Feb 8, 2009 at 12:09 PM, Sato Sanhai <[email protected]>wrote: > >> Thanks K, >> But do you have another (simpliy enable refilling) idea? >> Thank you...Sanhai >> >> 2009/2/8 Krzysztof B. Wicher <[email protected]> >> >> Hi, >>> >>> Check the console output of the modified program: >>> >>> Shoes.app do >>> image(100,100){...@im1=rect 0,0,100,100,:fill=>blue} >>> @im2=rect 100,0,100,100,:fill=>red >>> @[email protected](:fill=>green); debug @im1} >>> @[email protected](:fill=>green); debug @im2} >>> end >>> >>> That should help, I hope ;) >>> >>> K >>> >>> >>> On Sun, Feb 8, 2009 at 6:25 AM, Sato Sanhai <[email protected]>wrote: >>> >>>> Hi, >>>> I'm not sure how to re-fill a shape in image. >>>> The rect in image(100,100) can't be refilled while the rect out of image >>>> can be.. >>>> >>>> Shoes.app do >>>> image(100,100){...@im1=rect 0,0,100,100,:fill=>blue} >>>> @im2=rect 100,0,100,100,:fill=>red >>>> @[email protected](:fill=>green)} >>>> @[email protected](:fill=>green)} >>>> end >>>> P...Sanhai >>>> >>> >>> >> >
