Uses of Class
com.mxgraph.canvas.mxGraphics2DCanvas
Packages that use mxGraphics2DCanvas
Package
Description
This package contains various implementations for painting a graph using
different technologies, such as Graphics2D, HTML, SVG or VML.
This package contains the classes required to turn an encoded mxGraphView
into an image using SAX and without having to create a graph model.
This package contains the main component for JFC/Swing, namely the graph
component and the outline component.
This package contains all classes required for mouse event handling in
JFC/Swing.
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.
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 mxGraphics2DCanvasMethods in com.mxgraph.canvas that return mxGraphics2DCanvasConstructors in com.mxgraph.canvas with parameters of type mxGraphics2DCanvasModifierConstructorDescriptionmxImageCanvas
(mxGraphics2DCanvas canvas, int width, int height, Color background, boolean antiAlias) mxImageCanvas
(mxGraphics2DCanvas canvas, int width, int height, Color background, boolean antiAlias, boolean textAntiAlias) -
Uses of mxGraphics2DCanvas in com.mxgraph.reader
Methods in com.mxgraph.reader that return mxGraphics2DCanvasModifier and TypeMethodDescriptionprotected mxGraphics2DCanvas
mxGraphViewImageReader.createGraphicsCanvas()
Hook that creates the graphics canvas. -
Uses of mxGraphics2DCanvas in com.mxgraph.shape
Methods in com.mxgraph.shape with parameters of type mxGraphics2DCanvasModifier and TypeMethodDescriptionprotected mxGraphicsCanvas2D
mxSwimlaneShape.configureCanvas
(mxGraphics2DCanvas canvas, mxCellState state, mxGraphicsCanvas2D c) Helper method to configure the given wrapper canvas.protected boolean
mxBasicShape.configureGraphics
(mxGraphics2DCanvas canvas, mxCellState state, boolean background) Configures the graphics object ready to paint.protected mxGraphicsCanvas2D
mxStencil.createCanvas
(mxGraphics2DCanvas gc) Creates the canvas for rendering the stencil.mxPoint[]
mxLineShape.createPoints
(mxGraphics2DCanvas canvas, mxCellState state) mxActorShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxArrowShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxBasicShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxCloudShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxEllipseShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxHexagonShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxRhombusShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) mxTriangleShape.createShape
(mxGraphics2DCanvas canvas, mxCellState state) static void
mxLabelShape.drawGlassEffect
(mxGraphics2DCanvas canvas, mxCellState state) Draws the glass effectmxBasicShape.getFillColor
(mxGraphics2DCanvas canvas, mxCellState state) mxImageShape.getFillColor
(mxGraphics2DCanvas canvas, mxCellState state) mxLabelShape.getFillColor
(mxGraphics2DCanvas canvas, mxCellState state) protected mxRectangle
mxBasicShape.getGradientBounds
(mxGraphics2DCanvas canvas, mxCellState state) protected mxRectangle
mxSwimlaneShape.getGradientBounds
(mxGraphics2DCanvas canvas, mxCellState state) mxImageShape.getImageBounds
(mxGraphics2DCanvas canvas, mxCellState state) mxLabelShape.getImageBounds
(mxGraphics2DCanvas canvas, mxCellState state) mxImageShape.getImageForStyle
(mxGraphics2DCanvas canvas, mxCellState state) mxBasicShape.getStrokeColor
(mxGraphics2DCanvas canvas, mxCellState state) mxImageShape.getStrokeColor
(mxGraphics2DCanvas canvas, mxCellState state) mxLabelShape.getStrokeColor
(mxGraphics2DCanvas canvas, mxCellState state) protected double
mxSwimlaneShape.getTitleSize
(mxGraphics2DCanvas canvas, mxCellState state) Returns the bounding box for the gradient box for this shape.boolean
mxBasicShape.hasGradient
(mxGraphics2DCanvas canvas, mxCellState state) boolean
mxImageShape.hasGradient
(mxGraphics2DCanvas canvas, mxCellState state) boolean
mxLabelShape.hasGradient
(mxGraphics2DCanvas canvas, mxCellState state) boolean
mxBasicShape.hasShadow
(mxGraphics2DCanvas canvas, mxCellState state) mxConnectorShape.paintMarker
(mxGraphics2DCanvas canvas, mxCellState state, boolean source) Draws the marker for the given edge.mxIMarker.paintMarker
(mxGraphics2DCanvas canvas, mxCellState state, String type, mxPoint pe, double nx, double ny, double size, boolean source) void
mxStencilShape.paintNode
(mxGraphics2DCanvas canvas, mxCellState state, mxStencilShape.svgShape shape, double widthRatio, double heightRatio) protected void
mxConnectorShape.paintPolyline
(mxGraphics2DCanvas canvas, List<mxPoint> points, Map<String, Object> style) protected void
mxCurveShape.paintPolyline
(mxGraphics2DCanvas canvas, List<mxPoint> points, Map<String, Object> style) protected void
mxSwimlaneShape.paintRoundedSwimlane
(mxGraphics2DCanvas canvas, mxCellState state, double start, double r, String fill, boolean swimlaneLine) Function: paintRoundedSwimlane Paints the swimlane vertex shape.protected void
mxSwimlaneShape.paintSeparator
(mxGraphics2DCanvas canvas, mxCellState state, double start, String color) Function: paintSwimlane Paints the swimlane vertex shape.void
mxBasicShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxConnectorShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxCurveLabelShape.paintShape
(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String, Object> style) void
mxCurveShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxCylinderShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) Draws a cylinder for the given parameters.void
mxDefaultTextShape.paintShape
(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String, Object> style) void
mxDoubleEllipseShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxDoubleRectangleShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxHtmlTextShape.paintShape
(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String, Object> style) void
mxImageShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxIShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxITextShape.paintShape
(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String, Object> style) void
mxLabelShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxLineShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxRectangleShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxStencil.paintShape
(mxGraphics2DCanvas gc, mxCellState state) Paints the stencil for the given state.void
mxStencilShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) void
mxSwimlaneShape.paintShape
(mxGraphics2DCanvas canvas, mxCellState state) protected void
mxSwimlaneShape.paintSwimlane
(mxGraphics2DCanvas canvas, mxCellState state, double start, String fill, boolean swimlaneLine) 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 -
Uses of mxGraphics2DCanvas in com.mxgraph.swing
Methods in com.mxgraph.swing with parameters of type mxGraphics2DCanvasModifier and TypeMethodDescriptionprotected boolean
mxGraphComponent.mxGraphControl.hitClip
(mxGraphics2DCanvas canvas, mxCellState state) -
Uses of mxGraphics2DCanvas in com.mxgraph.swing.handler
Methods in com.mxgraph.swing.handler with parameters of type mxGraphics2DCanvasModifier and TypeMethodDescriptionprotected void
mxConnectPreview.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.viewMethods in com.mxgraph.swing.view with parameters of type mxGraphics2DCanvasModifier and TypeMethodDescriptionprotected void
mxCellStatePreview.paintPreview
(mxGraphics2DCanvas canvas) Draws the preview using the graphics canvas.protected void
mxCellStatePreview.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 mxGraphics2DCanvasModifier and TypeMethodDescriptionstatic BufferedImage
mxCellRenderer.createBufferedImage
(mxGraph graph, Object[] cells, double scale, Color background, boolean antiAlias, mxRectangle clip, mxGraphics2DCanvas graphicsCanvas)