Logo FluentUI

Watermark QML Type

A tiled watermark text overlay. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

Watermark displays a repeating tiled text pattern across the entire surface of its parent item. It is commonly used to indicate confidential, draft, or sample content.

Property Documentation

gap : point

The horizontal and vertical gap between each tiled instance of the watermark text, specified as a point where x is the horizontal gap and y is the vertical gap.

offset : point

The horizontal and vertical offset of the tiling pattern origin, specified as a point where x is the horizontal offset and y is the vertical offset.

rotate : int

The rotation angle of the watermark text in degrees. Common values include 0 for horizontal text and -45 for a diagonal watermark.

text : string

The watermark text string that is repeated in a tiled pattern.

textColor : color

The color of the watermark text.

textSize : int

The font size of the watermark text in pixels.