|
mxGraph 1.10.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.util.mxImage
public class mxImage
Implements a 2-dimensional point with double precision coordinates.
Field Summary | |
---|---|
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 Summary | |
---|---|
mxImage(String src,
int width,
int height)
Constructs a new point at (0, 0). |
Method Summary | |
---|---|
int |
getHeight()
|
String |
getSrc()
|
int |
getWidth()
|
void |
setHeight(int height)
|
void |
setSrc(String src)
|
void |
setWidth(int width)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String src
protected int width
protected int height
Constructor Detail |
---|
public mxImage(String src, int width, int height)
Method Detail |
---|
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 set
|
mxGraph 1.10.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |