Watermark
UI display.
<Watermark content="RUI next" />
<Watermark content="RUI next" />
Basic usage of Watermark component.
Properties | Description | Type | Default |
---|---|---|---|
gapX | The horizontal spacing between Watermark element | number | 24 |
gapY | The vertical spacing between Watermark element | number | 48 |
zIndex | The z-index of Watermark element | number | 1100 |
width | The Watermark width | number | 120 |
height | The Watermark height | number | 64 |
rotate | The Watermark rotate degree | number | -22 |
content | The Watermark text content | string | - |
image | The image source | string | - |
imageW | The image width | number | 120 |
imageH | The image height | number | 64 |
fontColor | The Watermark font color | string | rgba(0, 0, 0, .15) |
fontSize | The font size | string | number | 14 |