Hierarchy

  • ScratchCanvas

Constructors

Constructors

  • Parameters

    • mycanvas: HTMLElement
    • config: { coverColor?: string; id?: string; onFinsh?: Function; percent?: number; pointSize?: number; resultImg?: string; resultImgClick?: Function }
      • Optional coverColor?: string

        遮罩层颜色

      • Optional id?: string
      • Optional onFinsh?: Function

        完成回调

      • Optional percent?: number

        比例

      • Optional pointSize?: number

        触点大小

      • Optional resultImg?: string

        结果图片

      • Optional resultImgClick?: Function

        结果图片点击

    Returns ScratchCanvas

Generated using TypeDoc