public class WatermarkConfig extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Float |
getHeight()
Get 水印高。为比例值
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getLocationX()
Get 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getLocationY()
Get 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getUrl()
Get 水印图片的url
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getWidth()
Get 水印宽。为比例值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHeight(Float Height)
Set 水印高。为比例值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLocationX(Float LocationX)
Set 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLocationY(Float LocationY)
Set 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setUrl(String Url)
Set 水印图片的url
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setWidth(Float Width)
Set 水印宽。为比例值
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public WatermarkConfig()
public WatermarkConfig(WatermarkConfig source)
public String getUrl()
public void setUrl(String Url)
Url
- 水印图片的url
注意:此字段可能返回 null,表示取不到有效值。public Float getWidth()
public void setWidth(Float Width)
Width
- 水印宽。为比例值
注意:此字段可能返回 null,表示取不到有效值。public Float getHeight()
public void setHeight(Float Height)
Height
- 水印高。为比例值
注意:此字段可能返回 null,表示取不到有效值。public Float getLocationX()
public void setLocationX(Float LocationX)
LocationX
- 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。
注意:此字段可能返回 null,表示取不到有效值。public Float getLocationY()
public void setLocationY(Float LocationY)
LocationY
- 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.