Skip to content

能添加浮水印嗎 #26

Description

@DesireSkill
const ct = new CanvasTable({
        container: myCanvas.value,
        columns,
        style: { height: '100%', width: '100%' }
      });

const ctx = myCanvas.value.firstChild.firstChild.getContext('2d');
const name = 'Hello world';
ctx.font = '30px jf-openhuninn'; 
ctx.fillStyle = 'rgba(0, 0, 0, 0.3)';
ctx.fillText(name, 50, 50);

我能取得canvas,但內容會包含已產製的table,
且添加浮水印時會被已產製的table覆蓋過去,
請問有其他的添加浮水印的方法嗎?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions