public class mxImage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
height
Holds the image width and height.
|
protected java.lang.String |
src
Holds the path or URL for the image.
|
protected int |
width
Holds the image width and height.
|
Constructor and Description |
---|
mxImage(java.lang.String src,
int width,
int height)
Constructs a new point at (0, 0).
|
protected java.lang.String src
protected int width
protected int height
public mxImage(java.lang.String src, int width, int height)
public java.lang.String getSrc()
public void setSrc(java.lang.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.