public class VideoMixingLayout
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
backgroundColor
The background color of the canvas, represented as a long value.
|
private java.lang.String |
backgroundImage
The background image of the canvas.
|
private int |
canvasFps
The frame rate of the canvas.
|
private int |
canvasHeight
The height of the canvas.
|
private int |
canvasWidth
The width of the canvas.
|
private UserMixerLayout[] |
userLayoutConfigs
The layout configurations for the users.
|
| Constructor and Description |
|---|
VideoMixingLayout()
Constructs the VideoMixingLayout class with default values.
|
VideoMixingLayout(int canvasWidth,
int canvasHeight,
int canvasFps,
long backgroundColor,
java.lang.String backgroundImage,
UserMixerLayout[] userLayoutConfigs)
Constructs a VideoMixingLayout object with specified values.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getBackgroundColor()
Gets the background color of the canvas.
|
java.lang.String |
getBackgroundImage()
Gets the background image of the canvas.
|
int |
getCanvasFps()
Gets the frame rate of the canvas.
|
int |
getCanvasHeight()
Gets the height of the canvas.
|
int |
getCanvasWidth()
Gets the width of the canvas.
|
UserMixerLayout[] |
getUserLayoutConfigs()
Gets the layout configurations for the users.
|
void |
setBackgroundColor(long backgroundColor)
Sets the background color of the canvas.
|
void |
setBackgroundImage(java.lang.String backgroundImage)
Sets the background image of the canvas.
|
void |
setCanvasFps(int canvasFps)
Sets the frame rate of the canvas.
|
void |
setCanvasHeight(int canvasHeight)
Sets the height of the canvas.
|
void |
setCanvasWidth(int canvasWidth)
Sets the width of the canvas.
|
void |
setUserLayoutConfigs(UserMixerLayout[] userLayoutConfigs)
Sets the layout configurations for the users.
|
java.lang.String |
toString()
Returns a string representation of the VideoMixingLayout object.
|
private int canvasWidth
private int canvasHeight
private int canvasFps
private long backgroundColor
private java.lang.String backgroundImage
private UserMixerLayout[] userLayoutConfigs
public VideoMixingLayout()
public VideoMixingLayout(int canvasWidth,
int canvasHeight,
int canvasFps,
long backgroundColor,
java.lang.String backgroundImage,
UserMixerLayout[] userLayoutConfigs)
canvasWidth - The width of the canvas.canvasHeight - The height of the canvas.canvasFps - The frame rate of the canvas.backgroundColor - The background color of the canvas.backgroundImage - The background image of the canvas.userLayoutConfigs - The layout configurations for the users.public int getCanvasWidth()
public void setCanvasWidth(int canvasWidth)
canvasWidth - The canvas width to set.public int getCanvasHeight()
public void setCanvasHeight(int canvasHeight)
canvasHeight - The canvas height to set.public int getCanvasFps()
public void setCanvasFps(int canvasFps)
canvasFps - The canvas frame rate to set.public long getBackgroundColor()
public void setBackgroundColor(long backgroundColor)
backgroundColor - The background color to set.public java.lang.String getBackgroundImage()
public void setBackgroundImage(java.lang.String backgroundImage)
backgroundImage - The background image to set.public UserMixerLayout[] getUserLayoutConfigs()
public void setUserLayoutConfigs(UserMixerLayout[] userLayoutConfigs)
userLayoutConfigs - The user layout configurations to set.public java.lang.String toString()
toString in class java.lang.Object