LayaAir
LayaAir copied to clipboard
请问下 淘宝小程序 截屏怎么实现
var htmlCanvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);
var canvas = htmlCanvas.toBase64("image/png", 0.5);
这个方法在淘宝ide会报错