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
>

Reply via email to