Skip to content

Home > sculp-js > genCanvasWM

genCanvasWM() function

canvas 实现 水印, 具备防删除功能

Signature:

typescript
export declare function genCanvasWM(content?: string, canvasWM?: ICanvasWM): void;

Parameters

Parameter

Type

Description

content

string

(Optional)

canvasWM

ICanvasWM

(Optional)

Returns:

void

Example

genCanvasWM({ content: 'QQMusicFE' })

Released under the MIT License.