public class Sprite extends BitmovinResource
Constructor and Description |
---|
Sprite() |
Modifier and Type | Method and Description |
---|---|
Sprite |
addOutputsItem(EncodingOutput outputsItem) |
boolean |
equals(Object o) |
Double |
getDistance()
Distance in the given unit between a screenshot
|
String |
getFilename()
Filename of the sprite image.
|
Integer |
getHeight()
Height of one thumbnail (required)
|
Integer |
getImagesPerFile()
Number of images per file.
|
List<EncodingOutput> |
getOutputs()
Get outputs
|
String |
getSpriteName()
Name of the sprite image.
|
SpriteUnit |
getUnit()
Get unit
|
String |
getVttName()
Filename of the vtt-file.
|
Integer |
getWidth()
Width of one thumbnail (required)
|
int |
hashCode() |
void |
setDistance(Double distance)
Distance in the given unit between a screenshot
|
void |
setFilename(String filename)
Filename of the sprite image.
|
void |
setHeight(Integer height)
Height of one thumbnail (required)
|
void |
setImagesPerFile(Integer imagesPerFile)
Number of images per file.
|
void |
setOutputs(List<EncodingOutput> outputs)
Set outputs
|
void |
setSpriteName(String spriteName)
Name of the sprite image.
|
void |
setUnit(SpriteUnit unit)
Set unit
|
void |
setVttName(String vttName)
Filename of the vtt-file.
|
void |
setWidth(Integer width)
Width of one thumbnail (required)
|
String |
toString() |
getCreatedAt, getCustomData, getDescription, getModifiedAt, getName, putCustomDataItem, setCustomData, setDescription, setName
getId
public Integer getHeight()
public void setHeight(Integer height)
height
- Height of one thumbnail (required)public Integer getWidth()
public void setWidth(Integer width)
width
- Width of one thumbnail (required)public SpriteUnit getUnit()
public void setUnit(SpriteUnit unit)
unit
- public Double getDistance()
public void setDistance(Double distance)
distance
- Distance in the given unit between a screenshotpublic String getSpriteName()
public void setSpriteName(String spriteName)
spriteName
- Name of the sprite image. File extension \".jpg\" or \".png\" is required. (required)public String getFilename()
public void setFilename(String filename)
filename
- Filename of the sprite image. If not set, spriteName will be used, but without an extension.public String getVttName()
public void setVttName(String vttName)
vttName
- Filename of the vtt-file. The file-extension \".vtt\" is required. (required)public Sprite addOutputsItem(EncodingOutput outputsItem)
public List<EncodingOutput> getOutputs()
public void setOutputs(List<EncodingOutput> outputs)
outputs
- public Integer getImagesPerFile()
public void setImagesPerFile(Integer imagesPerFile)
imagesPerFile
- Number of images per file. If more images are generated than specified in this value, multiple sprites will be created. You can use the placeholder '%number%' in the spriteName to specify the naming policy.public boolean equals(Object o)
equals
in class BitmovinResource
public int hashCode()
hashCode
in class BitmovinResource
public String toString()
toString
in class BitmovinResource
Copyright © 2019. All rights reserved.