Search this API

y.view
Interface YLabel.BoundsProvider

All Known Implementing Classes:
DefaultLabelConfiguration, HtmlLabelConfiguration
Enclosing class:
YLabel

public static interface YLabel.BoundsProvider

The interface that is used by a specific label configuration that calculates the union bounds of a label and a given rectangle.

See Also:
YLabel.calcUnionRect(java.awt.geom.Rectangle2D)
 

Method Summary
 void calcUnionRect(YLabel label, java.awt.geom.Rectangle2D bounds)
          Delegating method of YLabel.calcUnionRect(java.awt.geom.Rectangle2D)
 

Method Detail

calcUnionRect

void calcUnionRect(YLabel label,
                   java.awt.geom.Rectangle2D bounds)
Delegating method of YLabel.calcUnionRect(java.awt.geom.Rectangle2D)

Parameters:
label - the label context
bounds - the bounds to update

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