HTML DOM CanvasRenderingContext2D 對象參考手冊定義和用法 drawImage() 方法繪制一幅圖像。 語法 drawImage(image, x, y) drawImage(image, x, y, width, height) drawImage(image, sourceX, sourceY, sourceWidth, sourceHeight, destX, destY, destWidth, destHeight) 參數(shù) 參數(shù)描述 image 所要繪制的圖像...
www.dbjr.com.cn/w3school/htmldom/met_ca... 2025-5-31