Class mxConnectorShape

    • Constructor Detail

      • mxConnectorShape

        public mxConnectorShape()
    • Method Detail

      • paintPolyline

        protected void paintPolyline​(mxGraphics2DCanvas canvas,
                                     java.util.List<mxPoint> points,
                                     java.util.Map<java.lang.String,​java.lang.Object> style)
      • isRounded

        public boolean isRounded​(java.util.Map<java.lang.String,​java.lang.Object> style)
      • paintMarker

        public mxPoint paintMarker​(mxGraphics2DCanvas canvas,
                                   mxCellState state,
                                   boolean source)
        Draws the marker for the given edge.
        the offset of the marker from the end of the line
      • getMarkerVector

        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
        points - the guide points of the connector
        source - whether the marker is at the source end
        markerSize - the scaled maximum length of the marker
        a line describing the vector the marker should be drawn along