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

Class CenterEdgeArrowRenderingSupport<V,E>

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CenterEdgeArrowRenderingSupport

        public CenterEdgeArrowRenderingSupport()
    • Method Detail

      • getArrowTransform

        public java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc,
                                                               java.awt.Shape edgeShape,
                                                               java.awt.Shape vertexShape)
        Description copied from interface: EdgeArrowRenderingSupport
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
        Specified by:
        getArrowTransform in interface EdgeArrowRenderingSupport<V,E>
        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

        public java.awt.geom.AffineTransform getReverseArrowTransform(RenderContext<V,E> rc,
                                                                      java.awt.Shape edgeShape,
                                                                      java.awt.Shape vertexShape)
        Description copied from interface: EdgeArrowRenderingSupport
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
        Specified by:
        getReverseArrowTransform in interface EdgeArrowRenderingSupport<V,E>
        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

        public 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.
        Specified by:
        getReverseArrowTransform in interface EdgeArrowRenderingSupport<V,E>
        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 - (ignored in this implementation)
        Returns:
        a transform used for positioning the arrowhead for this vertex and edge
      • getArrowTransform

        public java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc,
                                                               java.awt.geom.Line2D edgeShape,
                                                               java.awt.Shape vertexShape)
        Description copied from interface: EdgeArrowRenderingSupport
        Returns a transform to position the arrowhead on this edge shape at the point where it intersects the passed vertex shape.
        Specified by:
        getArrowTransform in interface EdgeArrowRenderingSupport<V,E>
        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.