public class mxImage extends Object implements Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected int |
height
Holds the image width and height.
|
protected String |
src
Holds the path or URL for the image.
|
protected int |
width
Holds the image width and height.
|
| Constructor and Description |
|---|
mxImage(String src,
int width,
int height)
Constructs a new point at (0, 0).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
String |
getSrc() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setSrc(String src) |
void |
setWidth(int width) |
protected String src
protected int width
protected int height
public mxImage(String src, int width, int height)
public String getSrc()
public void setSrc(String src)
src - the src to setpublic int getWidth()
public void setWidth(int width)
width - the width to setpublic int getHeight()
public void setHeight(int height)
height - the height to setCopyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.