# io.agora.recording.common.Common.ImageWatermarkConfig类 参考 (/zh-CN/api-reference/local-server-recording/java/legacy/classio-1-1agora-1-1recording-1-1common-1-1-common-1-1-image-watermark-config) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 详细描述 [#详细描述] 定义图片水印设置。 ## 类成员变量说明 [#类成员变量说明] ### imagePath [#imagepath] String io.agora.recording.common.Common.ImageWatermarkConfig.imagePath = "" 指定图片文件路径。 :::info[注解] - 只支持本地 PNG 格式的图片。 - 建议图片分辨率不超过 480p。 - 如果图片小于水印框,图片居中显示,不拉伸;如果图片大于水印框,图片等比缩小至合适水平,再居中显示。 ::: ### offsetX [#offsetx] int io.agora.recording.common.Common.ImageWatermarkConfig.offsetX = 0 水印框左上角与视频画布左上角的水平距离。单位为像素(pixel),默认值为 0。 ### offsetY [#offsety] int io.agora.recording.common.Common.ImageWatermarkConfig.offsetY = 0 水印框左上角与视频画布左上角的垂直距离。单位为像素(pixel),默认值为 0。 ### wmWidth [#wmwidth] int io.agora.recording.common.Common.ImageWatermarkConfig.wmWidth = 0 水印框的宽度。单位为像素(pixel),默认值为 0。 ### wmHeight [#wmheight] int io.agora.recording.common.Common.ImageWatermarkConfig.wmHeight = 0 水印框的高度。单位为像素(pixel),默认值为 0。