Class WatermarkConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lcic.v20220817.models.WatermarkConfig
-
public class WatermarkConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description WatermarkConfig()WatermarkConfig(WatermarkConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetHeight()Get 水印高。为比例值 注意:此字段可能返回 null,表示取不到有效值。FloatgetLocationX()Get 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。 注意:此字段可能返回 null,表示取不到有效值。FloatgetLocationY()Get 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。 注意:此字段可能返回 null,表示取不到有效值。StringgetUrl()Get 水印图片的url 注意:此字段可能返回 null,表示取不到有效值。FloatgetWidth()Get 水印宽。为比例值 注意:此字段可能返回 null,表示取不到有效值。voidsetHeight(Float Height)Set 水印高。为比例值 注意:此字段可能返回 null,表示取不到有效值。voidsetLocationX(Float LocationX)Set 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。 注意:此字段可能返回 null,表示取不到有效值。voidsetLocationY(Float LocationY)Set 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。 注意:此字段可能返回 null,表示取不到有效值。voidsetUrl(String Url)Set 水印图片的url 注意:此字段可能返回 null,表示取不到有效值。voidsetWidth(Float Width)Set 水印宽。为比例值 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
WatermarkConfig
public WatermarkConfig()
-
WatermarkConfig
public WatermarkConfig(WatermarkConfig 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.
-
-
Method Detail
-
getUrl
public String getUrl()
Get 水印图片的url 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Url 水印图片的url 注意:此字段可能返回 null,表示取不到有效值。
-
setUrl
public void setUrl(String Url)
Set 水印图片的url 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Url- 水印图片的url 注意:此字段可能返回 null,表示取不到有效值。
-
getWidth
public Float getWidth()
Get 水印宽。为比例值 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Width 水印宽。为比例值 注意:此字段可能返回 null,表示取不到有效值。
-
setWidth
public void setWidth(Float Width)
Set 水印宽。为比例值 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Width- 水印宽。为比例值 注意:此字段可能返回 null,表示取不到有效值。
-
getHeight
public Float getHeight()
Get 水印高。为比例值 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Height 水印高。为比例值 注意:此字段可能返回 null,表示取不到有效值。
-
setHeight
public void setHeight(Float Height)
Set 水印高。为比例值 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Height- 水印高。为比例值 注意:此字段可能返回 null,表示取不到有效值。
-
getLocationX
public Float getLocationX()
Get 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LocationX 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。 注意:此字段可能返回 null,表示取不到有效值。
-
setLocationX
public void setLocationX(Float LocationX)
Set 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LocationX- 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。 注意:此字段可能返回 null,表示取不到有效值。
-
getLocationY
public Float getLocationY()
Get 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LocationY 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。 注意:此字段可能返回 null,表示取不到有效值。
-
setLocationY
public void setLocationY(Float LocationY)
Set 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LocationY- 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。 注意:此字段可能返回 null,表示取不到有效值。
-
-