export interface ProWaterMarkProps { /** * @description 水印是否显示 * @default true */ visible?: boolean; /** * @description 水印文本, 为数组时表示多行水印 * @default - */ content?: string | string[]; /** * @description 是否全局设置水印 * @default false */ isBody?: boolean; /** * @description 水印层级 * @default 9999 */ zIndex?: number; /** * @description 图片源,建议导出 2 倍或 3 倍图,优先使用图片渲染水印 * @default - */ image?: string; /** * @description 单个水印宽度 * @default 120 */ width?: number; /** * @description 单个水印高度 * @default 64 */ height?: number; /** * @description 水印透明度 * @default 0.15 */ opacity?: number; /** * @description 旋转的角度 * @default -22 */ rotate?: number; /** * @description 设置字体大小 * @default 16 */ fontSize?: number; /** * @description 设置字体粗细 * @default normal */ fontWeight?: number | string; /** * @description 规定字体样式 * @default 'normal' */ fontStyle?: 'normal' | 'italic'; /** * @description 规定字体变体 * @default normal */ fontVariant?: 'normal' | 'small-caps'; /** * @description 设置字体颜色 * @default #000 */ fontColor?: string; /** * @description 设置水印文字的字体 * @default sans-serif */ fontFamily?: string; /** * @description 展示模式,interval表示错行展示 * @default 'interval' */ mode?: 'repeat' | 'interval'; }