Class TLspShapePaintingHints
java.lang.Object
com.luciad.view.lightspeed.painter.shape.TLspShapePaintingHints
Defines hints that influence the behavior of
TLspShapePainter
,
allowing the user to bias the painter either towards higher performance or
towards better visual quality. Painter hints can be constructed using the
supplied TLspShapePaintingHints.Builder
.
Currently, only a single hint (getOverlapResolution()
) is
defined. This hint controls how fills and outlines of overlapping shapes are
resolved. Additional hints may be introduced in the future.- Since:
- 2012.1
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLspShapePaintingHints
Predefined painting hints that set all available hints to the setting that balances performance and visual quality.static final TLspShapePaintingHints
Predefined painting hints that set all available hints to the setting that favors higher performance over visual quality or correctness.static final TLspShapePaintingHints
Predefined painting hints that set all available hints to the setting that favors better visual quality or correctness over performance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Specifies whether the painter should take extra measures to correctly resolve overlaps between shapes that are both filled and outlined.int
hashCode()
Creates a newTLspShapePaintingHints.Builder
with which shape painter hints can be created.
-
Field Details
-
AUTOMATIC
Predefined painting hints that set all available hints to the setting that balances performance and visual quality. -
MAX_QUALITY
Predefined painting hints that set all available hints to the setting that favors better visual quality or correctness over performance. -
MAX_PERFORMANCE
Predefined painting hints that set all available hints to the setting that favors higher performance over visual quality or correctness.
-
-
Method Details
-
newBuilder
Creates a newTLspShapePaintingHints.Builder
with which shape painter hints can be created.- Returns:
- a new hints builder
-
getOverlapResolution
Specifies whether the painter should take extra measures to correctly resolve overlaps between shapes that are both filled and outlined.- Returns:
- the overlap resolution quality hint
- See Also:
-
equals
-
hashCode
public int hashCode()
-