|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.shape.mxBasicShape
com.mxgraph.shape.mxRectangleShape
public class mxRectangleShape
Constructor Summary | |
---|---|
mxRectangleShape()
|
Method Summary | |
---|---|
int |
getArcSize(int w,
int h)
Computes the arc size for the given dimension. |
void |
paintShape(mxGraphics2DCanvas canvas,
mxCellState state)
|
Methods inherited from class com.mxgraph.shape.mxBasicShape |
---|
configureGraphics, createShape, getFillColor, getStrokeColor, hasShadow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public mxRectangleShape()
Method Detail |
---|
public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
paintShape
in interface mxIShape
paintShape
in class mxBasicShape
public int getArcSize(int w, int h)
w
- Width of the rectangle.h
- Height of the rectangle.
|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |