| Packages that use mxGraphics2DCanvas | 
| com.mxgraph.canvas | This package contains various implementations for painting a graph using
  different technologies, such as Graphics2D, HTML, SVG or VML. | 
| com.mxgraph.reader | This package contains the classes required to turn an encoded mxGraphView
  into an image using SAX and without having to create a graph model. | 
| com.mxgraph.shape |  | 
| com.mxgraph.swing | This package contains the main component for JFC/Swing, namely the graph
  component and the outline component. | 
| com.mxgraph.swing.handler | This package contains all classes required for mouse event handling in
  JFC/Swing. | 
| com.mxgraph.swing.view | This package contains all classes required for interaction, namely the
  mxCellEditor used for in-place editing and the mxInteractiveCanvas, which
  defines the requirements for a canvas that supports hit-detection on shapes. | 
| com.mxgraph.util | This package provides utility classes such as mxConstants, mxUtils, mxPoint
  and mxRectangle as well as all classes for custom events and the undo
  history. | 
 
| Methods in com.mxgraph.shape with parameters of type mxGraphics2DCanvas | 
| protected  boolean | mxBasicShape.configureGraphics(mxGraphics2DCanvas canvas,
                  mxCellState state,
                  boolean background)Configures the graphics object ready to paint.
 | 
|  mxPoint[] | mxLineShape.createPoints(mxGraphics2DCanvas canvas,
             mxCellState state)
 | 
|  Shape | mxTriangleShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxRhombusShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxHexagonShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxEllipseShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxCloudShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxArrowShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxBasicShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Shape | mxActorShape.createShape(mxGraphics2DCanvas canvas,
            mxCellState state)
 | 
|  Color | mxLabelShape.getFillColor(mxGraphics2DCanvas canvas,
             mxCellState state)
 | 
|  Color | mxImageShape.getFillColor(mxGraphics2DCanvas canvas,
             mxCellState state)
 | 
|  Color | mxBasicShape.getFillColor(mxGraphics2DCanvas canvas,
             mxCellState state)
 | 
|  Rectangle | mxLabelShape.getImageBounds(mxGraphics2DCanvas canvas,
               mxCellState state)
 | 
|  Rectangle | mxImageShape.getImageBounds(mxGraphics2DCanvas canvas,
               mxCellState state)
 | 
|  String | mxImageShape.getImageForStyle(mxGraphics2DCanvas canvas,
                 mxCellState state)
 | 
|  Color | mxLabelShape.getStrokeColor(mxGraphics2DCanvas canvas,
               mxCellState state)
 | 
|  Color | mxImageShape.getStrokeColor(mxGraphics2DCanvas canvas,
               mxCellState state)
 | 
|  Color | mxBasicShape.getStrokeColor(mxGraphics2DCanvas canvas,
               mxCellState state)
 | 
|  boolean | mxBasicShape.hasShadow(mxGraphics2DCanvas canvas,
          mxCellState state)
 | 
|  mxPoint | mxConnectorShape.paintMarker(mxGraphics2DCanvas canvas,
            List<mxPoint> points,
            Map<String,Object> style,
            boolean source)Draws the marker for the given edge.
 | 
|  void | mxStencilShape.paintNode(mxGraphics2DCanvas canvas,
          mxCellState state,
          mxStencilShape.svgShape shape,
          double widthRatio,
          double heightRatio)
 | 
| protected  void | mxCurveShape.paintPolyline(mxGraphics2DCanvas canvas,
              List<mxPoint> points,
              Map<String,Object> style)
 | 
| protected  void | mxConnectorShape.paintPolyline(mxGraphics2DCanvas canvas,
              List<mxPoint> points,
              Map<String,Object> style)
 | 
|  void | mxSwimlaneShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxStencilShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxLineShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxRectangleShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxImageShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxDoubleEllipseShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxCylinderShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)Draws a cylinder for the given parameters.
 | 
|  void | mxCurveShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxConnectorShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxBasicShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxIShape.paintShape(mxGraphics2DCanvas canvas,
           mxCellState state)
 | 
|  void | mxHtmlTextShape.paintShape(mxGraphics2DCanvas canvas,
           String text,
           mxCellState state,
           Map<String,Object> style)
 | 
|  void | mxDefaultTextShape.paintShape(mxGraphics2DCanvas canvas,
           String text,
           mxCellState state,
           Map<String,Object> style)
 | 
|  void | mxCurveLabelShape.paintShape(mxGraphics2DCanvas canvas,
           String text,
           mxCellState state,
           Map<String,Object> style)
 | 
|  void | mxITextShape.paintShape(mxGraphics2DCanvas canvas,
           String text,
           mxCellState state,
           Map<String,Object> style)
 | 
| protected  void | mxDefaultTextShape.postProcessLine(String text,
                String line,
                FontMetrics fm,
                mxGraphics2DCanvas canvas,
                int x,
                int y)Hook to add functionality after a line has been drawn
 |