|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LabelClipper
Class LabelClipper
| Method Summary | |
|---|---|
String |
clip(String label,
Graphics2D graphics,
Rectangle2D labelBounds,
double width,
double height)
Clip a specified label string according to the width and height of its allocated bounds. |
| Method Detail |
|---|
String clip(String label,
Graphics2D graphics,
Rectangle2D labelBounds,
double width,
double height)
label - the labelgraphics - the graphicslabelBounds - the original bounds of the label.
WARNING: On exit, it should be set to the new computed bounds.width - the bounds widthheight - the bounds height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||