| Package | Description |
|---|---|
| de.javagl.viewer.painters |
Generic
Painter implementations that can
serve as building blocks for more complex painters. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Predicate<LabelPainter.LabelPaintState> |
LabelPainterPredicates.labelWidthAtLeast(double minimumLabelWidth)
Returns a predicate that causes labels to be painted when their
(untransformed) width is not smaller than the given minimum
|
static java.util.function.Predicate<LabelPainter.LabelPaintState> |
LabelPainterPredicates.labelWidthAtMost(double maximumLabelWidth)
Returns a predicate that causes labels to be painted when their
(untransformed) width is not greater than the given maximum
|
static java.util.function.Predicate<LabelPainter.LabelPaintState> |
LabelPainterPredicates.transformedLabelWidthAtLeast(double minimumTransformedLabelWidth)
Returns a predicate that causes labels to be painted when their
(transformed) width is at least the given minimum.
|
static java.util.function.Predicate<LabelPainter.LabelPaintState> |
LabelPainterPredicates.transformedLabelWidthAtMost(double maximumTransformedLabelWidth)
Returns a predicate that causes labels to be painted when their
(transformed) width is at most the given maximum.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GeneralLabelPainterPredicate.test(LabelPainter.LabelPaintState labelPaintState) |
| Modifier and Type | Method and Description |
|---|---|
void |
LabelPainter.setLabelPaintingCondition(java.util.function.Predicate<LabelPainter.LabelPaintState> labelPaintingCondition)
Set the condition indicating whether a certain label should be
painted.
|
Copyright © 2019. All Rights Reserved.