Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I can paint a polygon, not sure how to paint the image. If I set an image inside rectangle, the polygon may not be displayed. The polygon is painted in Canvas. Maybe it is better to paint the two on Canvas.
https://qmlbook.github.io/ch09-canvas/canvas.html helps
I had a bunch of canvas stuff that I moved to Shape instead. I like Shape as I can make most of the code declarative like the rest of QML.
@fcarney Thanks for the info. I think that Qt 6 book has Shapes chapter. I will have peek at it. Great work!