public class WaterMarkParams extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| WaterMarkParams() | 
| WaterMarkParams(WaterMarkParams source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getLocationX()Get 水印在输出时的X偏移。单位为像素值。水印宽+X偏移不能超过整个画布宽。 | 
| Long | getLocationY()Get 水印在输出时的Y偏移。单位为像素值。水印高+Y偏移不能超过整个画布高。 | 
| Long | getWaterMarkHeight()Get 混流-水印高。单位为像素值。水印高+Y偏移不能超过整个画布高。 | 
| Long | getWaterMarkId()Get 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 | 
| String | getWaterMarkUrl()Get 混流-水印图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。WaterMarkUrl和WaterMarkId参数都填时,以WaterMarkUrl为准。图片大小限制不超过2MB。 | 
| Long | getWaterMarkWidth()Get 混流-水印宽。单位为像素值。水印宽+X偏移不能超过整个画布宽。 | 
| void | setLocationX(Long LocationX)Set 水印在输出时的X偏移。单位为像素值。水印宽+X偏移不能超过整个画布宽。 | 
| void | setLocationY(Long LocationY)Set 水印在输出时的Y偏移。单位为像素值。水印高+Y偏移不能超过整个画布高。 | 
| void | setWaterMarkHeight(Long WaterMarkHeight)Set 混流-水印高。单位为像素值。水印高+Y偏移不能超过整个画布高。 | 
| void | setWaterMarkId(Long WaterMarkId)Set 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 | 
| void | setWaterMarkUrl(String WaterMarkUrl)Set 混流-水印图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。WaterMarkUrl和WaterMarkId参数都填时,以WaterMarkUrl为准。图片大小限制不超过2MB。 | 
| void | setWaterMarkWidth(Long WaterMarkWidth)Set 混流-水印宽。单位为像素值。水印宽+X偏移不能超过整个画布宽。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic WaterMarkParams()
public WaterMarkParams(WaterMarkParams source)
public Long getWaterMarkId()
public void setWaterMarkId(Long WaterMarkId)
WaterMarkId - 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。public Long getWaterMarkWidth()
public void setWaterMarkWidth(Long WaterMarkWidth)
WaterMarkWidth - 混流-水印宽。单位为像素值。水印宽+X偏移不能超过整个画布宽。public Long getWaterMarkHeight()
public void setWaterMarkHeight(Long WaterMarkHeight)
WaterMarkHeight - 混流-水印高。单位为像素值。水印高+Y偏移不能超过整个画布高。public Long getLocationX()
public void setLocationX(Long LocationX)
LocationX - 水印在输出时的X偏移。单位为像素值。水印宽+X偏移不能超过整个画布宽。public Long getLocationY()
public void setLocationY(Long LocationY)
LocationY - 水印在输出时的Y偏移。单位为像素值。水印高+Y偏移不能超过整个画布高。public String getWaterMarkUrl()
public void setWaterMarkUrl(String WaterMarkUrl)
WaterMarkUrl - 混流-水印图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。WaterMarkUrl和WaterMarkId参数都填时,以WaterMarkUrl为准。图片大小限制不超过2MB。Copyright © 2025. All rights reserved.