public class RtcImage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
height
Height (px)
|
private java.lang.String |
url
Image URL
|
private int |
width
Width (px)
|
private int |
x
X coordinate
|
private int |
y
Y coordinate
|
private int |
zOrder
Z-order
|
| Constructor and Description |
|---|
RtcImage()
Default constructor for RtcImage.
|
RtcImage(java.lang.String url,
int x,
int y,
int width,
int height,
int zOrder)
Constructs RtcImage with URL, position, size, and z-order.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the height (px).
|
java.lang.String |
getUrl()
Gets the image URL.
|
int |
getWidth()
Gets the width (px).
|
int |
getX()
Gets the X coordinate.
|
int |
getY()
Gets the Y coordinate.
|
int |
getZOrder()
Gets the z-order.
|
void |
setHeight(int height)
Sets the height (px).
|
void |
setUrl(java.lang.String url)
Sets the image URL.
|
void |
setWidth(int width)
Sets the width (px).
|
void |
setX(int x)
Sets the X coordinate.
|
void |
setY(int y)
Sets the Y coordinate.
|
void |
setZOrder(int zOrder)
Sets the z-order.
|
private java.lang.String url
private int x
private int y
private int width
private int height
private int zOrder
public RtcImage()
public RtcImage(java.lang.String url,
int x,
int y,
int width,
int height,
int zOrder)
url - Image URLx - X coordinatey - Y coordinatewidth - Width (px)height - Height (px)zOrder - Z-orderpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - Image URLpublic int getX()
public void setX(int x)
x - X coordinatepublic int getY()
public void setY(int y)
y - Y coordinatepublic int getWidth()
public void setWidth(int width)
width - Width (px)public int getHeight()
public void setHeight(int height)
height - Height (px)public int getZOrder()
public void setZOrder(int zOrder)
zOrder - Z-order