'''
const context = uni.createCanvasContext('my_card')
uni.getImageInfo({
src: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/d8590190-4f28-11eb-b680-7980c8a877b8.png',
success: function (res) {
context.rect(0, 0, 375, 400) //图片无法被裁剪
//context.rect(0, 0, 375, 10) //裁剪的图片不再矩形区域可以正常裁剪显示
context.setFillStyle('blue')
context.fill()
context.save()
context.beginPath()
context.setStrokeStyle('red')
context.setFillStyle('red')
context.arc(96, 96, 48, 0, 2 * Math.PI)
context.clip()
context.drawImage(res.path, 48, 48)
context.restore()
context.draw()
}
})
'''