public static class LabelPainter.LabelPaintState
extends java.lang.Object
LabelPainter.setLabelPaintingCondition(Predicate), to
determine whether the label should be painted.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel()
Returns the label that is about to be painted
|
java.awt.geom.Rectangle2D |
getLabelBounds()
Returns a reference to the bounds of the label that is about
to be painted.
|
java.awt.geom.AffineTransform |
getLabelTransform()
Returns a reference to the affine transform that will be applied
to the graphics context before the label is painted at the origin.
|
java.awt.geom.AffineTransform |
getWorldToScreenTransform()
Returns a reference to an affine transform that is equal to
the transform that was passed to the painting method of
the
LabelPainter |
public java.lang.String getLabel()
public java.awt.geom.Rectangle2D getLabelBounds()
public java.awt.geom.AffineTransform getLabelTransform()
LabelPainter is
transforming the labels,
then this will include the world to screen transform.public java.awt.geom.AffineTransform getWorldToScreenTransform()
LabelPainterCopyright © 2019. All Rights Reserved.