Uses of Class
com.mxgraph.canvas.mxGraphics2DCanvas
-
Packages that use mxGraphics2DCanvas Package Description 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. -
-
Uses of mxGraphics2DCanvas in com.mxgraph.canvas
Fields in com.mxgraph.canvas declared as mxGraphics2DCanvas Modifier and Type Field Description protected mxGraphics2DCanvasmxImageCanvas. canvasMethods in com.mxgraph.canvas that return mxGraphics2DCanvas Modifier and Type Method Description mxGraphics2DCanvasmxImageCanvas. getGraphicsCanvas()Constructors in com.mxgraph.canvas with parameters of type mxGraphics2DCanvas Constructor Description mxImageCanvas(mxGraphics2DCanvas canvas, int width, int height, java.awt.Color background, boolean antiAlias)mxImageCanvas(mxGraphics2DCanvas canvas, int width, int height, java.awt.Color background, boolean antiAlias, boolean textAntiAlias) -
Uses of mxGraphics2DCanvas in com.mxgraph.reader
Methods in com.mxgraph.reader that return mxGraphics2DCanvas Modifier and Type Method Description protected mxGraphics2DCanvasmxGraphViewImageReader. createGraphicsCanvas()Hook that creates the graphics canvas. -
Uses of mxGraphics2DCanvas in com.mxgraph.shape
Methods in com.mxgraph.shape with parameters of type mxGraphics2DCanvas Modifier and Type Method Description protected mxGraphicsCanvas2DmxSwimlaneShape. configureCanvas(mxGraphics2DCanvas canvas, mxCellState state, mxGraphicsCanvas2D c)Helper method to configure the given wrapper canvas.protected booleanmxBasicShape. configureGraphics(mxGraphics2DCanvas canvas, mxCellState state, boolean background)Configures the graphics object ready to paint.protected mxGraphicsCanvas2DmxStencil. createCanvas(mxGraphics2DCanvas gc)Creates the canvas for rendering the stencil.mxPoint[]mxLineShape. createPoints(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxActorShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxArrowShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxBasicShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxCloudShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxEllipseShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxHexagonShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxRhombusShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ShapemxTriangleShape. createShape(mxGraphics2DCanvas canvas, mxCellState state)static voidmxLabelShape. drawGlassEffect(mxGraphics2DCanvas canvas, mxCellState state)Draws the glass effectjava.awt.ColormxBasicShape. getFillColor(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ColormxImageShape. getFillColor(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ColormxLabelShape. getFillColor(mxGraphics2DCanvas canvas, mxCellState state)protected mxRectanglemxBasicShape. getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)protected mxRectanglemxSwimlaneShape. getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)java.awt.RectanglemxImageShape. getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)java.awt.RectanglemxLabelShape. getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)java.lang.StringmxImageShape. getImageForStyle(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ColormxBasicShape. getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ColormxImageShape. getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ColormxLabelShape. getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)protected doublemxSwimlaneShape. getTitleSize(mxGraphics2DCanvas canvas, mxCellState state)Returns the bounding box for the gradient box for this shape.booleanmxBasicShape. hasGradient(mxGraphics2DCanvas canvas, mxCellState state)booleanmxImageShape. hasGradient(mxGraphics2DCanvas canvas, mxCellState state)booleanmxLabelShape. hasGradient(mxGraphics2DCanvas canvas, mxCellState state)booleanmxBasicShape. hasShadow(mxGraphics2DCanvas canvas, mxCellState state)mxPointmxConnectorShape. paintMarker(mxGraphics2DCanvas canvas, mxCellState state, boolean source)Draws the marker for the given edge.mxPointmxIMarker. paintMarker(mxGraphics2DCanvas canvas, mxCellState state, java.lang.String type, mxPoint pe, double nx, double ny, double size, boolean source)voidmxStencilShape. paintNode(mxGraphics2DCanvas canvas, mxCellState state, mxStencilShape.svgShape shape, double widthRatio, double heightRatio)protected voidmxConnectorShape. paintPolyline(mxGraphics2DCanvas canvas, java.util.List<mxPoint> points, java.util.Map<java.lang.String,java.lang.Object> style)protected voidmxCurveShape. paintPolyline(mxGraphics2DCanvas canvas, java.util.List<mxPoint> points, java.util.Map<java.lang.String,java.lang.Object> style)protected voidmxSwimlaneShape. paintRoundedSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, double r, java.lang.String fill, boolean swimlaneLine)Function: paintRoundedSwimlane Paints the swimlane vertex shape.protected voidmxSwimlaneShape. paintSeparator(mxGraphics2DCanvas canvas, mxCellState state, double start, java.lang.String color)Function: paintSwimlane Paints the swimlane vertex shape.voidmxBasicShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxConnectorShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxCurveLabelShape. paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)voidmxCurveShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxCylinderShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)Draws a cylinder for the given parameters.voidmxDefaultTextShape. paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)voidmxDoubleEllipseShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxDoubleRectangleShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxHtmlTextShape. paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)voidmxImageShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxIShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxITextShape. paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)voidmxLabelShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxLineShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxRectangleShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxStencil. paintShape(mxGraphics2DCanvas gc, mxCellState state)Paints the stencil for the given state.voidmxStencilShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)voidmxSwimlaneShape. paintShape(mxGraphics2DCanvas canvas, mxCellState state)protected voidmxSwimlaneShape. paintSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, java.lang.String fill, boolean swimlaneLine)protected voidmxDefaultTextShape. postProcessLine(java.lang.String text, java.lang.String line, java.awt.FontMetrics fm, mxGraphics2DCanvas canvas, int x, int y)Hook to add functionality after a line has been drawn -
Uses of mxGraphics2DCanvas in com.mxgraph.swing
Methods in com.mxgraph.swing with parameters of type mxGraphics2DCanvas Modifier and Type Method Description protected booleanmxGraphComponent.mxGraphControl. hitClip(mxGraphics2DCanvas canvas, mxCellState state) -
Uses of mxGraphics2DCanvas in com.mxgraph.swing.handler
Methods in com.mxgraph.swing.handler with parameters of type mxGraphics2DCanvas Modifier and Type Method Description protected voidmxConnectPreview. paintPreview(mxGraphics2DCanvas canvas)Draws the preview using the graphics canvas. -
Uses of mxGraphics2DCanvas in com.mxgraph.swing.view
Subclasses of mxGraphics2DCanvas in com.mxgraph.swing.view Modifier and Type Class Description classmxInteractiveCanvasMethods in com.mxgraph.swing.view with parameters of type mxGraphics2DCanvas Modifier and Type Method Description protected voidmxCellStatePreview. paintPreview(mxGraphics2DCanvas canvas)Draws the preview using the graphics canvas.protected voidmxCellStatePreview. paintPreviewState(mxGraphics2DCanvas canvas, mxCellState state)Draws the preview using the graphics canvas. -
Uses of mxGraphics2DCanvas in com.mxgraph.util
Methods in com.mxgraph.util with parameters of type mxGraphics2DCanvas Modifier and Type Method Description static java.awt.image.BufferedImagemxCellRenderer. createBufferedImage(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, boolean antiAlias, mxRectangle clip, mxGraphics2DCanvas graphicsCanvas)
-