Package qupath.lib.display
Enum Class ChannelDisplayMode
- All Implemented Interfaces:
Serializable
,Comparable<ChannelDisplayMode>
,Constable
Display mode for an image channel, used in combination with
ImageDisplay
and ChannelDisplayInfo
.- Since:
- v0.4.0
- Author:
- Pete Bankhead
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionShow using default color LUT (may be composite)Show using a grayscale LUT (black to white)Show using color LUT with an inverted backgroundShow using an inverted grayscale LUT (white to black) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ChannelDisplayMode
Returns the enum constant of this class with the specified name.static ChannelDisplayMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COLOR
Show using default color LUT (may be composite) -
INVERTED_COLOR
Show using color LUT with an inverted background -
GRAYSCALE
Show using a grayscale LUT (black to white) -
INVERTED_GRAYSCALE
Show using an inverted grayscale LUT (white to black)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
invertColors
public boolean invertColors()
-