Public Member Functions

 TimestampWatermarkConfig ()
 

Public Attributes

int fontSize = 10
 
int offsetX = 0
 
int offsetY = 0
 
int wmWidth = 0
 
int wmHeight = 0
 

Detailed Description

The configuration of the timestamp watermark.

The dynamic timestamp shows the current time of the recording server, such as "2019:06:18 14:30:35".

Constructor & Destructor Documentation

◆ TimestampWatermarkConfig()

io.agora.recording.common.Common.TimestampWatermarkConfig.TimestampWatermarkConfig ( )

Member Data Documentation

◆ fontSize

int io.agora.recording.common.Common.TimestampWatermarkConfig.fontSize = 10

The font size (pt). The default value is 10, which equals to 10 x 15 points at 144 dpi.

◆ offsetX

int io.agora.recording.common.Common.TimestampWatermarkConfig.offsetX = 0

The horizontal shift (pixel) of the rectangle containing the watermark from the left border of the canvas. The default value is 0.

◆ offsetY

int io.agora.recording.common.Common.TimestampWatermarkConfig.offsetY = 0

The vertical shift (pixel) of the rectangle containing the watermark from the top border of the canvas. The default value is 0.

◆ wmWidth

int io.agora.recording.common.Common.TimestampWatermarkConfig.wmWidth = 0

The height (pixel) of the rectangle containing the watermark. The default value is 0.

◆ wmHeight

int io.agora.recording.common.Common.TimestampWatermarkConfig.wmHeight = 0

The width (pixel) of the rectangle containing the watermark. The default value is 0.