public class WaterMarkParams extends AbstractModel
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 Horizontal offset (px) of the watermark
|
Long |
getLocationY()
Get Vertical offset (px) of the watermark
|
Long |
getWaterMarkHeight()
Get Height (px) of the watermark for On-Cloud MixTranscoding
|
Long |
getWaterMarkId()
Get Image ID of the watermark, which is generated after the image is uploaded to the TRTC console
|
Long |
getWaterMarkWidth()
Get Width (px) of the watermark for On-Cloud MixTranscoding
|
void |
setLocationX(Long LocationX)
Set Horizontal offset (px) of the watermark
|
void |
setLocationY(Long LocationY)
Set Vertical offset (px) of the watermark
|
void |
setWaterMarkHeight(Long WaterMarkHeight)
Set Height (px) of the watermark for On-Cloud MixTranscoding
|
void |
setWaterMarkId(Long WaterMarkId)
Set Image ID of the watermark, which is generated after the image is uploaded to the TRTC console
|
void |
setWaterMarkWidth(Long WaterMarkWidth)
Set Width (px) of the watermark for On-Cloud MixTranscoding
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public WaterMarkParams()
public WaterMarkParams(WaterMarkParams source)
public Long getWaterMarkId()
public void setWaterMarkId(Long WaterMarkId)
WaterMarkId
- Image ID of the watermark, which is generated after the image is uploaded to the TRTC consolepublic Long getWaterMarkWidth()
public void setWaterMarkWidth(Long WaterMarkWidth)
WaterMarkWidth
- Width (px) of the watermark for On-Cloud MixTranscodingpublic Long getWaterMarkHeight()
public void setWaterMarkHeight(Long WaterMarkHeight)
WaterMarkHeight
- Height (px) of the watermark for On-Cloud MixTranscodingpublic Long getLocationX()
public void setLocationX(Long LocationX)
LocationX
- Horizontal offset (px) of the watermarkpublic Long getLocationY()
public void setLocationY(Long LocationY)
LocationY
- Vertical offset (px) of the watermarkCopyright © 2021. All rights reserved.