Jump to content

Fill figure from different paths (graphics)


Recommended Posts


I created a Graphics object and draw in it behind the coordinates of the mouse. I use moveTo (), lineTo () and strokePath ().
I would like to fill the object inside the line and use fillPath (), however the shapes can be drawn with different patches.
Are there any ideas how I can fill in shapes drawn from different patches?

In the image, an example - line numbers is the order in which they are drawn.

Thanks for any ideas!


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...