public static final class TrackEffectWaterMark.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TrackEffectWaterMark |
build()
Build Track Audio Stream Bean
|
TrackEffectWaterMark.Builder |
setHeightRatio(float heightRatio)
Sets the height of this sticker relative to the screen resolution.
|
TrackEffectWaterMark.Builder |
setWidthRatio(float widthRatio)
Sets the width of this sticker relative to the screen resolution.
|
TrackEffectWaterMark.Builder |
setXRadio(float xRatio)
Sets the x coordinate of the centroid of this sticker relative to the screen resolution.
|
TrackEffectWaterMark.Builder |
setYRatio(float yRatio)
Sets the y coordinate of the centroid of this sticker relative to the screen resolution.
|
TrackEffectWaterMark.Builder |
source(Source source)
Sets the path of a resource.
|
public TrackEffectWaterMark.Builder source(Source source)
source
- resourcepublic TrackEffectWaterMark.Builder setXRadio(float xRatio)
xRatio
- The x coordinate. Valid values: [0, 1]public TrackEffectWaterMark.Builder setYRatio(float yRatio)
yRatio
- The y coordinate. Valid values: [0, 1]public TrackEffectWaterMark.Builder setWidthRatio(float widthRatio)
widthRatio
- The width. Valid values: [0, 1]public TrackEffectWaterMark.Builder setHeightRatio(float heightRatio)
heightRatio
- The height. Valid values: [0, 1]public TrackEffectWaterMark build()
TrackEffectWaterMark