Skip to main content


This component is rendered using web canvas component. The difference between <deprecated-canvas> and <canvas> is that <canvas> is provided by native while <deprecated-canvas> is created in web environment.

<deprecated-canvas> only supports easy rendering method. These methods are not supported: createImageData, getImageData, putImageData, measureText


  • remark - supported jssdk >= 4.1.0 in mini program