On Saturday, 1 January 2022 at 18:10:21 UTC, Jon Ribbens wrote:
On 2022-01-01, John Stockton wrote:
. . .
I want to display that image inside that gap.
. . .
const context = document.getElementById('myCanvas').getContext('2d') context.drawImage(document.getElementById('xyz'), 0, 0)
Tested; as expected, it works. I dare say that reading the MDN
page for drawImage will enable me to get it shown with the
right size and location - but not tonight.
Thanks.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)