public final class TLspShapePaintingHints extends Object
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.Modifier and Type | Class and Description |
---|---|
static class |
TLspShapePaintingHints.Builder
Builder for
TLspShapePaintingHints objects. |
Modifier and Type | Field and Description |
---|---|
static TLspShapePaintingHints |
AUTOMATIC
Predefined painting hints that set all available hints to the setting
that balances performance and visual quality.
|
static TLspShapePaintingHints |
MAX_PERFORMANCE
Predefined painting hints that set all available hints to the setting
that favors higher performance over visual quality or correctness.
|
static TLspShapePaintingHints |
MAX_QUALITY
Predefined painting hints that set all available hints to the setting
that favors better visual quality or correctness over performance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ELspQualityHint |
getOverlapResolution()
Specifies whether the painter should take extra measures to correctly
resolve overlaps between shapes that are both filled and outlined.
|
int |
hashCode() |
static TLspShapePaintingHints.Builder |
newBuilder()
Creates a new
TLspShapePaintingHints.Builder with which shape painter hints can be
created. |
public static final TLspShapePaintingHints AUTOMATIC
public static final TLspShapePaintingHints MAX_QUALITY
public static final TLspShapePaintingHints MAX_PERFORMANCE
public static TLspShapePaintingHints.Builder newBuilder()
TLspShapePaintingHints.Builder
with which shape painter hints can be
created.public ELspQualityHint getOverlapResolution()
TLspShapePaintingHints.Builder.overlapResolution(com.luciad.view.lightspeed.ELspQualityHint)