public class MixerLayoutConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private float |
alpha
The transparency level of the layout.
|
private int |
height
The height of the layout.
|
private java.lang.String |
imagePath
The file path of the background image for the layout.
|
private boolean |
mirror
Whether the layout is mirrored horizontally.
|
private int |
rotation |
private int |
width
The width of the layout.
|
private int |
x
The x-coordinate of the top-left corner of the layout.
|
private int |
y
The y-coordinate of the top-left corner of the layout.
|
private int |
zOrder
The z-order of the layout.
|
| Constructor and Description |
|---|
MixerLayoutConfig()
Constructs a MixerLayoutConfig object with default values.
|
MixerLayoutConfig(int x,
int y,
int width,
int height,
int zOrder)
Constructs a MixerLayoutConfig object with specified position, size, and
z-order.
|
MixerLayoutConfig(int x,
int y,
int width,
int height,
int zOrder,
float alpha,
boolean mirror,
java.lang.String imagePath)
Constructs a MixerLayoutConfig object with specified values.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getAlpha()
Gets the transparency level of the layout.
|
int |
getHeight()
Gets the height of the layout.
|
java.lang.String |
getImagePath()
Gets the file path of the background image for the layout.
|
int |
getRotation()
Gets the rotation of the layout.
|
int |
getWidth()
Gets the width of the layout.
|
int |
getX()
Gets the x-coordinate of the top-left corner of the layout.
|
int |
getY()
Gets the y-coordinate of the top-left corner of the layout.
|
int |
getZOrder()
Gets the z-order of the layout.
|
boolean |
isMirror()
Gets whether the layout is mirrored horizontally.
|
void |
setAlpha(float alpha)
Sets the transparency level of the layout.
|
void |
setHeight(int height)
Sets the height of the layout.
|
void |
setImagePath(java.lang.String imagePath)
Sets the file path of the background image for the layout.
|
void |
setMirror(boolean mirror)
Sets whether the layout is mirrored horizontally.
|
void |
setRotation(int rotation)
Sets the rotation of the layout.
|
void |
setWidth(int width)
Sets the width of the layout.
|
void |
setX(int x)
Sets the x-coordinate of the top-left corner of the layout.
|
void |
setY(int y)
Sets the y-coordinate of the top-left corner of the layout.
|
void |
setZOrder(int zOrder)
Sets the z-order of the layout.
|
java.lang.String |
toString()
Returns a string representation of the MixerLayoutConfig object.
|
private int x
private int y
private int width
private int height
private int zOrder
private float alpha
private boolean mirror
private java.lang.String imagePath
private int rotation
public MixerLayoutConfig()
public MixerLayoutConfig(int x,
int y,
int width,
int height,
int zOrder)
x - The x-coordinate of the top-left corner of the layout.y - The y-coordinate of the top-left corner of the layout.width - The width of the layout.height - The height of the layout.zOrder - The z-order of the layout.public MixerLayoutConfig(int x,
int y,
int width,
int height,
int zOrder,
float alpha,
boolean mirror,
java.lang.String imagePath)
x - The x-coordinate of the top-left corner of the layout.y - The y-coordinate of the top-left corner of the layout.width - The width of the layout.height - The height of the layout.zOrder - The z-order of the layout.alpha - The transparency level of the layout.mirror - Whether the layout is mirrored horizontally.imagePath - The file path of the background image for the layout.public int getX()
public void setX(int x)
x - The x-coordinate to set.public int getY()
public void setY(int y)
y - The y-coordinate to set.public int getWidth()
public void setWidth(int width)
width - The width to set.public int getHeight()
public void setHeight(int height)
height - The height to set.public int getZOrder()
public void setZOrder(int zOrder)
zOrder - The z-order to set.public float getAlpha()
public void setAlpha(float alpha)
alpha - The transparency level to set.public boolean isMirror()
public void setMirror(boolean mirror)
mirror - True to mirror the layout, false otherwise.public java.lang.String getImagePath()
public void setImagePath(java.lang.String imagePath)
imagePath - The file path to set.public int getRotation()
public void setRotation(int rotation)
rotation - The rotation of the layout.public java.lang.String toString()
toString in class java.lang.Object