public class LogoParam extends AbstractModel
header, skipSign
Constructor and Description |
---|
LogoParam() |
LogoParam(LogoParam 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 |
---|---|
String |
getLogoImage()
Get Logo image Base64 code
●Either the Base64 code or URL must be provided.
|
FaceRect |
getLogoRect()
Get Coordinates of the logo image in the fusion result image.
|
String |
getLogoUrl()
Get Logo image URL
●Either the Base64 code or URL must be provided.
|
void |
setLogoImage(String LogoImage)
Set Logo image Base64 code
●Either the Base64 code or URL must be provided.
|
void |
setLogoRect(FaceRect LogoRect)
Set Coordinates of the logo image in the fusion result image.
|
void |
setLogoUrl(String LogoUrl)
Set Logo image URL
●Either the Base64 code or URL must be provided.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public LogoParam()
public LogoParam(LogoParam source)
public FaceRect getLogoRect()
public void setLogoRect(FaceRect LogoRect)
LogoRect
- Coordinates of the logo image in the fusion result image. The logo image will be stretched according to the coordinates.public String getLogoUrl()
public void setLogoUrl(String LogoUrl)
LogoUrl
- Logo image URL
●Either the Base64 code or URL must be provided. If both are provided, URL prevails.
●Supported image format: JPG or PNGpublic String getLogoImage()
public void setLogoImage(String LogoImage)
LogoImage
- Logo image Base64 code
●Either the Base64 code or URL must be provided. If both are provided, URL prevails.
●Supported image format: JPG or PNGCopyright © 2024. All rights reserved.