public interface EdgeArrowRenderingSupport<V,E>
Modifier and Type | Method and Description |
---|---|
java.awt.geom.AffineTransform |
getArrowTransform(RenderContext<V,E> rc,
java.awt.geom.Line2D edgeShape,
java.awt.Shape vertexShape)
This is used for the arrow of a directed and for one of the
arrows for non-directed edges
Get a transform to place the arrow shape on the passed edge at the
point where it intersects the passed 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.
|
java.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc, java.awt.Shape edgeShape, java.awt.Shape vertexShape)
java.awt.geom.AffineTransform getReverseArrowTransform(RenderContext<V,E> rc, java.awt.Shape edgeShape, java.awt.Shape vertexShape)
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 staring point is not inside the vertex. The passedGo flag handles this case.
edgeShape
- vertexShape
- passedGo
- - used only for Loop edgesjava.awt.geom.AffineTransform getArrowTransform(RenderContext<V,E> rc, java.awt.geom.Line2D edgeShape, java.awt.Shape vertexShape)
edgeShape
- vertexShape
-