public class mxConnectorShape extends mxBasicShape
| Constructor and Description |
|---|
mxConnectorShape() |
| Modifier and Type | Method and Description |
|---|---|
protected mxLine |
getMarkerVector(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(Map<String,Object> style) |
mxPoint |
paintMarker(mxGraphics2DCanvas canvas,
mxCellState state,
boolean source)
Draws the marker for the given edge.
|
protected void |
paintPolyline(mxGraphics2DCanvas canvas,
List<mxPoint> points,
Map<String,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, List<mxPoint> points, Map<String,Object> style)
public mxPoint paintMarker(mxGraphics2DCanvas canvas, mxCellState state, boolean source)
protected mxLine getMarkerVector(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 Gaudenz Alder. All rights reserved.