Documentation of 'edu.uci.ics.jung.visualization.renderers.EdgeArrowRenderingSupport' Java class
EdgeArrowRenderingSupport
edu.uci.ics.jung.visualization.renderers

Interface EdgeArrowRenderingSupport<V,E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc, java.awt.geom.Line2D edgeShape, java.awt.Shape vertexShape)
      Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
      java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc, java.awt.Shape edgeShape, java.awt.Shape vertexShape)
      Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
      java.awt.geom.AffineTransform getReverseArrowTransform(RenderContext<V,E> rc, java.awt.Shape edgeShape, java.awt.Shape vertexShape)
      Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
      java.awt.geom.AffineTransform getReverseArrowTransform(RenderContext<V,E> rc, java.awt.Shape edgeShape, java.awt.Shape vertexShape, boolean passedGo)
      Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
    • Method Detail

      • getArrowTransform

        java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc,
                                                        java.awt.Shape edgeShape,
                                                        java.awt.Shape vertexShape)
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
        Parameters:
        rc - the rendering context used for rendering the arrow
        edgeShape - the shape used to draw the edge
        vertexShape - the shape used to draw the vertex
        Returns:
        a transform used for positioning the arrowhead for this vertex and edge
      • getReverseArrowTransform

        java.awt.geom.AffineTransform getReverseArrowTransform(RenderContext<V,E> rc,
                                                               java.awt.Shape edgeShape,
                                                               java.awt.Shape vertexShape)
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
        Parameters:
        rc - the rendering context used for rendering the arrow
        edgeShape - the shape used to draw the edge
        vertexShape - the shape used to draw the vertex
        Returns:
        a transform used for positioning the arrowhead for this vertex and edge
      • getReverseArrowTransform

        java.awt.geom.AffineTransform getReverseArrowTransform(RenderContext<V,E> rc,
                                                               java.awt.Shape edgeShape,
                                                               java.awt.Shape vertexShape,
                                                               boolean passedGo)
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.

        The Loop edge is a special case because its starting point is not inside the vertex. The passedGo flag handles this case.

        Parameters:
        rc - the rendering context used for rendering the arrow
        edgeShape - the shape used to draw the edge
        vertexShape - the shape used to draw the vertex
        passedGo - used for rendering loop edges
        Returns:
        a transform used for positioning the arrowhead for this vertex and edge
      • getArrowTransform

        java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc,
                                                        java.awt.geom.Line2D edgeShape,
                                                        java.awt.Shape vertexShape)
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
        Parameters:
        rc - the rendering context used for rendering the arrow
        edgeShape - the shape used to draw the edge
        vertexShape - the shape used to draw the vertex
        Returns:
        a transform used for positioning the arrowhead for this vertex and edge

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.