Package com.luciad.view.lightspeed
Class TLspViewPaintingHints
java.lang.Object
com.luciad.view.lightspeed.TLspViewPaintingHints
Defines hints that influence the behavior of
ILspView
,
allowing the user to bias either towards higher performance or
towards better visual quality. Painting hints can be constructed using the
supplied TLspViewPaintingHints.Builder
.
The hints take into account the currently installed GPU.
For example, the automatic setting will enable high-quality features for GPUs that can handle them
without a considerable performance impact.
Currently, only a single hint (getQuality()
) is
defined. Additional hints may be introduced in the future.- Since:
- 2016.0
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLspViewPaintingHints
Predefined painting hints that set all available hints to the setting that balances performance and visual quality.static final TLspViewPaintingHints
Predefined painting hints that set all available hints to the setting that favors higher performance over visual quality or correctness.static final TLspViewPaintingHints
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
Hint that influences the overall behavior ofILspView
, allowing the user to bias either towards higher performance or towards better visual quality.int
hashCode()
Creates a newTLspViewPaintingHints.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 newTLspViewPaintingHints.Builder
with which shape painter hints can be created.- Returns:
- a new hints builder
-
getQuality
Hint that influences the overall behavior ofILspView
, allowing the user to bias either towards higher performance or towards better visual quality.- Returns:
- the overall quality hint
- See Also:
-
equals
-
hashCode
public int hashCode()
-