public static enum ImageBanner.PixelMode extends Enum<ImageBanner.PixelMode>
Enum Constant and Description |
---|
BLOCK
Use unicode block chars for pixels.
|
TEXT
Use text chars for pixels.
|
Modifier and Type | Method and Description |
---|---|
static ImageBanner.PixelMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageBanner.PixelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageBanner.PixelMode TEXT
public static final ImageBanner.PixelMode BLOCK
public static ImageBanner.PixelMode[] values()
for (ImageBanner.PixelMode c : ImageBanner.PixelMode.values()) System.out.println(c);
public static ImageBanner.PixelMode 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 nullCopyright © 2021 Pivotal Software, Inc.. All rights reserved.