public class WatermarkFilter extends Filter
Constructor and Description |
---|
WatermarkFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getBottom()
Distance from the bottom edge of the input video to the bottom edge of the watermark image.
|
String |
getImage()
URL of the file to be used as watermark image.
|
Integer |
getLeft()
Distance from the left edge of the input video to the left edge of the watermark image.
|
Integer |
getRight()
Distance from the right edge of the input video to the right edge of the watermark image .
|
Integer |
getTop()
Distance from the top edge of the input video to the top edge of the watermark image.
|
PositionUnit |
getUnit()
Specifies if the values of 'left', 'right', 'top' and 'bottom' are interpreted as pixels or as a percentage of the input video's dimensions.
|
int |
hashCode() |
void |
setBottom(Integer bottom)
Distance from the bottom edge of the input video to the bottom edge of the watermark image.
|
void |
setImage(String image)
URL of the file to be used as watermark image.
|
void |
setLeft(Integer left)
Distance from the left edge of the input video to the left edge of the watermark image.
|
void |
setRight(Integer right)
Distance from the right edge of the input video to the right edge of the watermark image .
|
void |
setTop(Integer top)
Distance from the top edge of the input video to the top edge of the watermark image.
|
void |
setUnit(PositionUnit unit)
Specifies if the values of 'left', 'right', 'top' and 'bottom' are interpreted as pixels or as a percentage of the input video's dimensions.
|
String |
toString() |
getCreatedAt, getCustomData, getDescription, getModifiedAt, getName, putCustomDataItem, setCustomData, setDescription, setName
getId
public String getImage()
public void setImage(String image)
image
- URL of the file to be used as watermark image. Supported image formats: PNG, JPEG, BMP, GIF (required)public Integer getLeft()
public void setLeft(Integer left)
left
- Distance from the left edge of the input video to the left edge of the watermark image. May not be set if 'right' is set.public Integer getRight()
public void setRight(Integer right)
right
- Distance from the right edge of the input video to the right edge of the watermark image . May not be set if 'left' is set.public Integer getTop()
public void setTop(Integer top)
top
- Distance from the top edge of the input video to the top edge of the watermark image. May not be set if 'bottom' is set.public Integer getBottom()
public void setBottom(Integer bottom)
bottom
- Distance from the bottom edge of the input video to the bottom edge of the watermark image. May not be set if 'top' is set.public PositionUnit getUnit()
public void setUnit(PositionUnit unit)
unit
- Specifies if the values of 'left', 'right', 'top' and 'bottom' are interpreted as pixels or as a percentage of the input video's dimensions.Copyright © 2022. All rights reserved.