Hello, I am using PictureBox in an App. The order of drawing is not working to allow me to see draw items on top of a picture.
In the App i am drawing a base map (JPG), then i want to draw some lines and boxes on top of the map. The map always ends up on “top” and the drawing items go to the background and are covered by the JPG. It doesn’t matter the order the drawing statements are done in the subroutine, the map is always on top.
I saw that there is an option parameter globalCompositeOperation, with a bunch of different options on the order of how items are drawn. Tried, them all, none worked.
So the code looks like:
Sub Drawmap .... pb.addImage("composite fishing map.jpg",dispx,dispy) pb.strokeRect(150,150,10,10) .... end Sub
the order of statements for addimage works as expected, the last addimage is on top of the display.
thanks for any help!