public static enum TLspPaintPhase.PaintOpacity extends Enum<TLspPaintPhase.PaintOpacity>
TRANSPARENT
or OPAQUE
for a 3D view and always ALL
for a 2D view.
In 3D, all opaque objects should be painted before painting any of the
transparent objects to correctly resolve multiple transparent surfaces.
Hence, the distinction between the two paint opacities.Enum Constant and Description |
---|
ALL
Identifies that all, i.e., opaque and transparent objects, should be painted.
|
OPAQUE
Identifies that only opaque objects should be painted.
|
TRANSPARENT
Identifies that only transparent objects should be painted.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static TLspPaintPhase.PaintOpacity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspPaintPhase.PaintOpacity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspPaintPhase.PaintOpacity TRANSPARENT
public static final TLspPaintPhase.PaintOpacity OPAQUE
public static final TLspPaintPhase.PaintOpacity ALL
public static TLspPaintPhase.PaintOpacity[] values()
for (TLspPaintPhase.PaintOpacity c : TLspPaintPhase.PaintOpacity.values()) System.out.println(c);
public static TLspPaintPhase.PaintOpacity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<TLspPaintPhase.PaintOpacity>