Searched refs:switchMethod (Results 1 – 2 of 2) sorted by relevance
9 addEventListener('message', async ({ data: {svgData, offscreenCanvas, type, switchMethod} }) => { property25 if (switchMethod) {30 if (switchMethod === 'Path2D') {32 } else if (switchMethod === 'CanvasKit') {
62 function switchRenderMethodCallback(switchMethod) { argument73 if (switchMethod === 'SVG') {79 if (switchMethod === 'CanvasKit') {82 if (switchMethod === 'Path2D') {85 worker.postMessage({ switchMethod }); property