Class mxRectangleShape

java.lang.Object
com.mxgraph.shape.mxBasicShape
com.mxgraph.shape.mxRectangleShape
All Implemented Interfaces:
mxIShape
Direct Known Subclasses:
mxImageShape

public class mxRectangleShape extends mxBasicShape
  • Constructor Details

    • mxRectangleShape

      public mxRectangleShape()
  • Method Details

    • paintShape

      public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
      Specified by:
      paintShape in interface mxIShape
      Overrides:
      paintShape in class mxBasicShape
    • getArcSize

      public int getArcSize(int w, int h)
      Computes the arc size for the given dimension.
      Parameters:
      w - Width of the rectangle.
      h - Height of the rectangle.
      Returns:
      Returns the arc size for the given dimension.