Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] can decide which one will be on the top? canvas.image and canvas.line

edited September 2015 in OpenSesame

Hi,
I draw an image with "my_canvas.image"
and draw a line with "my_canvas.line"

Both works fine, BUT when the two "graphs" are overlapped, Line is always on the top. I want to put the line is under (or covered by) the image. Is it possible by using openexp inline scripts?

Many thanks in advance,

Comments

  • edited 10:23AM

    Hi,

    OpenSesame draws things serially, that is whatever you draw last, will be drawn on the top level. So, if you want your line to cover the image, just make call my_canvas.line after my.canvas_image.

    Does this help, or did I misunderstand anything?

    Eduard

    Buy Me A Coffee

  • edited 10:23AM

    Yes, many thanks a lot. You answer my questions. The case can be closed now.
    Again, thanks for 'serial' drawing concepts.

    Blessings,

Sign In or Register to comment.