Search this API

y.view
Interface GenericEdgeRealizer.ArrowPainter

Enclosing class:
GenericEdgeRealizer

public static interface GenericEdgeRealizer.ArrowPainter

This interface is used as a callback by EdgeRealizer to paint the arrows.

 
Your browser does not support SVG content.

Method Summary
 void paintArrows(EdgeRealizer context, BendList bends, java.awt.geom.GeneralPath path, java.awt.Graphics2D gfx)
          Used as a callback for the GenericEdgeRealizer.paintArrows(java.awt.Graphics2D) method.
 

Method Detail

paintArrows

void paintArrows(EdgeRealizer context,
                 BendList bends,
                 java.awt.geom.GeneralPath path,
                 java.awt.Graphics2D gfx)
Used as a callback for the GenericEdgeRealizer.paintArrows(java.awt.Graphics2D) method.

Parameters:
context - the EdgeRealizer context that is used for the current painting
bends - the list of bends that the current context holds
path - the GeneralPath instance that is currently used by the EdgeRealizer
gfx - the graphics context to use

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.