public class StaticImageActivateSetting extends AbstractModel
header, skipSign
Constructor and Description |
---|
StaticImageActivateSetting() |
StaticImageActivateSetting(StaticImageActivateSetting 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 |
getDuration()
Get Overlay duration, in milliseconds, range 0-86400000; default value 0, 0 means continuous.
|
Long |
getFadeIn()
Get Fade-in duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-in effect.
|
Long |
getFadeOut()
Get Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.
|
Long |
getHeight()
Get The height of the image superimposed on the video frame, in pixels.
|
String |
getImageUrl()
Get The address of the image to be inserted, starting with http or https and ending with .png .PNG .bmp .BMP .tga .TGA.
|
Long |
getImageX()
Get The distance from the left edge in pixels; the default value is 0 and the maximum value is 4096.
|
Long |
getImageY()
Get The distance from the top edge in pixels; the default value is 0 and the maximum value is 2160.
|
Long |
getLayer()
Get The layer of the superimposed image, 0-7; the default value is 0, and a higher layer means it is on the top.
|
Long |
getOpacity()
Get Opacity, range 0-100; the default value is 100, which means completely opaque.
|
Long |
getWidth()
Get The width of the image superimposed on the video frame, in pixels.
|
void |
setDuration(Long Duration)
Set Overlay duration, in milliseconds, range 0-86400000; default value 0, 0 means continuous.
|
void |
setFadeIn(Long FadeIn)
Set Fade-in duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-in effect.
|
void |
setFadeOut(Long FadeOut)
Set Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.
|
void |
setHeight(Long Height)
Set The height of the image superimposed on the video frame, in pixels.
|
void |
setImageUrl(String ImageUrl)
Set The address of the image to be inserted, starting with http or https and ending with .png .PNG .bmp .BMP .tga .TGA.
|
void |
setImageX(Long ImageX)
Set The distance from the left edge in pixels; the default value is 0 and the maximum value is 4096.
|
void |
setImageY(Long ImageY)
Set The distance from the top edge in pixels; the default value is 0 and the maximum value is 2160.
|
void |
setLayer(Long Layer)
Set The layer of the superimposed image, 0-7; the default value is 0, and a higher layer means it is on the top.
|
void |
setOpacity(Long Opacity)
Set Opacity, range 0-100; the default value is 100, which means completely opaque.
|
void |
setWidth(Long Width)
Set The width of the image superimposed on the video frame, in pixels.
|
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 StaticImageActivateSetting()
public StaticImageActivateSetting(StaticImageActivateSetting source)
public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- The address of the image to be inserted, starting with http or https and ending with .png .PNG .bmp .BMP .tga .TGA.public Long getLayer()
public void setLayer(Long Layer)
Layer
- The layer of the superimposed image, 0-7; the default value is 0, and a higher layer means it is on the top.public Long getOpacity()
public void setOpacity(Long Opacity)
Opacity
- Opacity, range 0-100; the default value is 100, which means completely opaque.public Long getImageX()
public void setImageX(Long ImageX)
ImageX
- The distance from the left edge in pixels; the default value is 0 and the maximum value is 4096.public Long getImageY()
public void setImageY(Long ImageY)
ImageY
- The distance from the top edge in pixels; the default value is 0 and the maximum value is 2160.public Long getWidth()
public void setWidth(Long Width)
Width
- The width of the image superimposed on the video frame, in pixels. The default value is empty (not set), which means using the original image size. The minimum value is 1 and the maximum value is 4096.public Long getHeight()
public void setHeight(Long Height)
Height
- The height of the image superimposed on the video frame, in pixels. The default value is empty (not set), which means the original image size is used. The minimum value is 1 and the maximum value is 2160.public Long getDuration()
public void setDuration(Long Duration)
Duration
- Overlay duration, in milliseconds, range 0-86400000; default value 0, 0 means continuous.public Long getFadeIn()
public void setFadeIn(Long FadeIn)
FadeIn
- Fade-in duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-in effect.public Long getFadeOut()
public void setFadeOut(Long FadeOut)
FadeOut
- Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.Copyright © 2025. All rights reserved.