Search this API

y.view
Interface GenericEdgeRealizer.UnionRectCalculator

Enclosing class:
GenericEdgeRealizer

public static interface GenericEdgeRealizer.UnionRectCalculator

This interface is used as a callback by GenericEdgeRealizer to calculate the bounds.

 

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

Method Detail

calcUnionRect

void calcUnionRect(EdgeRealizer context,
                   BendList bends,
                   java.awt.geom.GeneralPath path,
                   java.awt.geom.Rectangle2D rect)
Used as a callback for the GenericEdgeRealizer.calcUnionRect(java.awt.geom.Rectangle2D) method.

Parameters:
context - the EdgeRealizer context that is used for the calculation
bends - the list of bends that the current context holds
path - the GeneralPath instance that is currently used by the EdgeRealizer
rect - the argument to the callback method

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