Elements

组件

水印 Watermark

Watermark:水印层,显示在内容下方。canvas 先把文字绘制成一张图块(旋转、浅淡,并按屏幕像素密度保持清晰),标记层在默认插槽上重复平铺。prop 变化时水印会重绘,并且不接收指针事件。

#基础用法

watermark/basic Vue React

The registry holds each entry twice: once in the ledger, once in the seal that marks it as the house's own. The mark beneath the words is quiet by design — it claims the page without taking the reader's attention.

Copies leave the building with the same seal, faint but present, so the paper can always be asked where it was made.

watermark/tuned Vue React

The registry holds each entry twice: once in the ledger, once in the seal that marks it as the house's own. The mark beneath the words is quiet by design — it claims the page without taking the reader's attention.

Copies leave the building with the same seal, faint but present, so the paper can always be asked where it was made.

#属性

#Watermark

Watermark:水印层,显示在内容下方。canvas 先把文字绘制成一张图块(旋转、浅淡,并按屏幕像素密度保持清晰),标记层在默认插槽上重复平铺。prop 变化时水印会重绘,并且不接收指针事件。

属性类型默认值描述
contentString—
opacityNumber0.06—
rotateNumber-20—
fontSizeString"0.875rem"—