Search this API

y.view
Interface GenericEdgeRealizer.PortPainter

Enclosing class:
GenericEdgeRealizer

public static interface GenericEdgeRealizer.PortPainter

This interface is used as a callback by GenericEdgeRealizer to paint the ports.

 

Method Summary
 void paintPorts(EdgeRealizer context, BendList bends, java.awt.geom.GeneralPath path, java.awt.Graphics2D gfx)
          Callback method for GenericEdgeRealizer.paintPorts(java.awt.Graphics2D).
 

Method Detail

paintPorts

void paintPorts(EdgeRealizer context,
                BendList bends,
                java.awt.geom.GeneralPath path,
                java.awt.Graphics2D gfx)
Callback method for GenericEdgeRealizer.paintPorts(java.awt.Graphics2D). This method should modify the given path instance.

Parameters:
context - the context EdgeRealizer
bends - the current BendList
path - the current GeneralPath
gfx - the graphics context to paint on

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