MCPcopy Create free account
hub / github.com/melonjs/melonJS / drawImage

Method drawImage

packages/melonjs/src/video/renderer.js:1016–1016  ·  view source on GitHub ↗
(image, sx, sy, sw, sh, dx, dy, dw, dh)

Source from the content-addressed store, hash-verified

1014 */
1015 // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
1016 drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh) {}
1017
1018 /**
1019 * A mask limits rendering elements to the shape and position of the given mask object.

Callers 15

drawTileLayerMethod · 0.95
drawRegionMethod · 0.45
drawTriangleMethod · 0.45
drawMethod · 0.45
compositeFunction · 0.45
drawMethod · 0.45
drawMethod · 0.45
toCanvasMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
tintMethod · 0.45
_parseTilesMethod · 0.45

Calls

no outgoing calls

Tested by 1

readPixelFunction · 0.36