mxIShapemxCurveShapepublic class mxConnectorShape extends mxBasicShape
| Constructor | Description |
|---|---|
mxConnectorShape() |
| Modifier and Type | Method | Description |
|---|---|---|
protected mxLine |
getMarkerVector(java.util.List<mxPoint> points,
boolean source,
double markerSize) |
Hook to override creation of the vector that the marker is drawn along
since it may not be the same as the vector between any two control
points
|
boolean |
isRounded(java.util.Map<java.lang.String,java.lang.Object> style) |
|
mxPoint |
paintMarker(mxGraphics2DCanvas canvas,
mxCellState state,
boolean source) |
Draws the marker for the given edge.
|
protected void |
paintPolyline(mxGraphics2DCanvas canvas,
java.util.List<mxPoint> points,
java.util.Map<java.lang.String,java.lang.Object> style) |
|
void |
paintShape(mxGraphics2DCanvas canvas,
mxCellState state) |
configureGraphics, createShape, getFillColor, getGradientBounds, getStrokeColor, hasGradient, hasShadowpublic void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
paintShape in interface mxIShapepaintShape in class mxBasicShapeprotected void paintPolyline(mxGraphics2DCanvas canvas, java.util.List<mxPoint> points, java.util.Map<java.lang.String,java.lang.Object> style)
public boolean isRounded(java.util.Map<java.lang.String,java.lang.Object> style)
public mxPoint paintMarker(mxGraphics2DCanvas canvas, mxCellState state, boolean source)
protected mxLine getMarkerVector(java.util.List<mxPoint> points, boolean source, double markerSize)
points - the guide points of the connectorsource - whether the marker is at the source endmarkerSize - the scaled maximum length of the markerCopyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.