Canvas2D: Improve API docs


Add code examples and images into Canvas2D API docs. These code
snippets are made with docsnippets-canvas2d app.

Change-Id: If47dd72ead322cd577adcf935eb0bbb16d2c67e2
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commitdc2f264952bf59ae2b721964016a836c1db15d0b
parent2c52722ab7a48c0205f2cc725ea146e324ddc73b
authorKaj Grönholm <kaj.gronholm@qt.io>
committerPaul Olav Tvete <paul.tvete@qt.io>
commit timeSun, 31 May 2026 18:10:05 +0000