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).
|
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. All rights reserved.