public class ImageSpriteTemplate extends AbstractModel
header, skipSign
Constructor and Description |
---|
ImageSpriteTemplate() |
ImageSpriteTemplate(ImageSpriteTemplate 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 |
getColumnCount()
Get Subimage column count of an image sprite.
|
String |
getComment()
Get Template description.
|
String |
getCreateTime()
Get Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
Long |
getDefinition()
Get Unique ID of an image sprite generating template.
|
String |
getFillType()
Get Fill type.
|
String |
getFormat()
Get The image format.
|
Long |
getHeight()
Get Maximum value of the height (or short side) of a subimage in an image sprite in px.
|
String |
getName()
Get Name of an image sprite generating template.
|
String |
getResolutionAdaptive()
Get Resolution adaption.
|
Long |
getRowCount()
Get Subimage row count of an image sprite.
|
Long |
getSampleInterval()
Get Sampling interval.
|
String |
getSampleType()
Get Sampling type.
|
String |
getType()
Get Template type.
|
String |
getUpdateTime()
Get Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
Long |
getWidth()
Get Maximum value of the width (or long side) of a subimage in an image sprite in px.
|
void |
setColumnCount(Long ColumnCount)
Set Subimage column count of an image sprite.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setCreateTime(String CreateTime)
Set Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setDefinition(Long Definition)
Set Unique ID of an image sprite generating template.
|
void |
setFillType(String FillType)
Set Fill type.
|
void |
setFormat(String Format)
Set The image format.
|
void |
setHeight(Long Height)
Set Maximum value of the height (or short side) of a subimage in an image sprite in px.
|
void |
setName(String Name)
Set Name of an image sprite generating template.
|
void |
setResolutionAdaptive(String ResolutionAdaptive)
Set Resolution adaption.
|
void |
setRowCount(Long RowCount)
Set Subimage row count of an image sprite.
|
void |
setSampleInterval(Long SampleInterval)
Set Sampling interval.
|
void |
setSampleType(String SampleType)
Set Sampling type.
|
void |
setType(String Type)
Set Template type.
|
void |
setUpdateTime(String UpdateTime)
Set Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setWidth(Long Width)
Set Maximum value of the width (or long side) of a subimage in an image sprite in px.
|
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 ImageSpriteTemplate()
public ImageSpriteTemplate(ImageSpriteTemplate source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Unique ID of an image sprite generating template.public String getType()
public void setType(String Type)
Type
- Template type. Valid values:
public String getName()
public void setName(String Name)
Name
- Name of an image sprite generating template.public Long getWidth()
public void setWidth(Long Width)
Width
- Maximum value of the width (or long side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096].
public Long getHeight()
public void setHeight(Long Height)
Height
- Maximum value of the height (or short side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096].
public String getResolutionAdaptive()
public void setResolutionAdaptive(String ResolutionAdaptive)
ResolutionAdaptive
- Resolution adaption. Valid values:
public String getSampleType()
public void setSampleType(String SampleType)
SampleType
- Sampling type.public Long getSampleInterval()
public void setSampleInterval(Long SampleInterval)
SampleInterval
- Sampling interval.public Long getRowCount()
public void setRowCount(Long RowCount)
RowCount
- Subimage row count of an image sprite.public Long getColumnCount()
public void setColumnCount(Long ColumnCount)
ColumnCount
- Subimage column count of an image sprite.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public String getFillType()
public void setFillType(String FillType)
FillType
- Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
public String getComment()
public void setComment(String Comment)
Comment
- Template description.public String getFormat()
public void setFormat(String Format)
Format
- The image format.Copyright © 2024. All rights reserved.