Package com.mxgraph.shape
Class mxRectangleShape
- java.lang.Object
-
- com.mxgraph.shape.mxBasicShape
-
- com.mxgraph.shape.mxRectangleShape
-
- All Implemented Interfaces:
mxIShape
- Direct Known Subclasses:
mxDoubleRectangleShape
,mxImageShape
public class mxRectangleShape extends mxBasicShape
-
-
Constructor Summary
Constructors Constructor Description mxRectangleShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getArcSize(mxCellState state, double w, double h)
Helper method to configure the given wrapper canvas.void
paintShape(mxGraphics2DCanvas canvas, mxCellState state)
-
Methods inherited from class com.mxgraph.shape.mxBasicShape
configureGraphics, createShape, getFillColor, getGradientBounds, getStrokeColor, hasGradient, hasShadow
-
-
-
-
Method Detail
-
paintShape
public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
- Specified by:
paintShape
in interfacemxIShape
- Overrides:
paintShape
in classmxBasicShape
-
getArcSize
protected int getArcSize(mxCellState state, double w, double h)
Helper method to configure the given wrapper canvas.
-
-