参数

    Object object

    object.fileType 的合法值

    说明
    jpg jpg 文件
    png png 文件

    返回值

    string

    示例代码

    Canvas.toTempFilePath

    1. x: 10,
    2. y: 10,
    3. destWidth: 400,
    4. })
    5. wx.shareAppMessage({
    6. })