public class ArcConnectorShape extends com.mxgraph.shape.mxConnectorShape implements GraphLayoutConstants
ARC_BASE_OFFSET, ARC_HEIGHT_RATIO, ARC_TOP_EXTEND, BOTTOM_INSETS_KEY, CELL_FILTER_KEY, CELL_MERGER_KEY, CELL_SPACING_KEY, CENTER_GRAPH_KEY, CONTENT_AREA_KEY, DEFAULT_BOTTOM_INSETS, DEFAULT_CONTENT_AREA, DEFAULT_EDGE_STYLE, DEFAULT_EDGE_STYLE_KEY, DEFAULT_LEFT_INSETS, DEFAULT_LTR_EDGE_STYLE, DEFAULT_MIN_BASELINE, DEFAULT_ORDER_EDGE_STYLE, DEFAULT_RIGHT_INSETS, DEFAULT_RTL_EDGE_STYLE, DEFAULT_TOP_INSETS, DEFAULT_VERTEX_STYLE, GRAPH_PRESENTER_KEY, LEFT_INSETS_KEY, LTR_EDGE_STYLE_KEY, MIN_BASELINE_KEY, OFFSET_X_KEY, OFFSET_Y_KEY, ORDER_EDGE_STYLE_KEY, RIGHT_INSETS_KEY, RTL_EDGE_STYLE_KEY, STYLE_DECORATOR_KEY, TOP_INSETS_KEY
Constructor and Description |
---|
ArcConnectorShape() |
Modifier and Type | Method and Description |
---|---|
static double |
getArcBase(double y1,
double y2) |
static double |
getArcHeight(double width) |
static double |
getInvertedArcBase(double y1,
double y2) |
protected void |
paintPolyline(com.mxgraph.canvas.mxGraphics2DCanvas canvas,
java.util.List<com.mxgraph.util.mxPoint> pts,
java.util.Map<java.lang.String,java.lang.Object> style) |
getMarkerVector, isRounded, paintMarker, paintShape
public static final double getArcHeight(double width)
public static final double getArcBase(double y1, double y2)
public static final double getInvertedArcBase(double y1, double y2)
protected void paintPolyline(com.mxgraph.canvas.mxGraphics2DCanvas canvas, java.util.List<com.mxgraph.util.mxPoint> pts, java.util.Map<java.lang.String,java.lang.Object> style)
paintPolyline
in class com.mxgraph.shape.mxConnectorShape