Modifier and Type | Method | Description |
---|---|---|
AsciiArtMode |
AsciiArtBuilder.getAsciiArtMode() |
Retrieves the ASCII-Art mode from the ASCII-Art mode property.
|
static AsciiArtMode |
AsciiArtMode.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AsciiArtMode[] |
AsciiArtMode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static String[] |
AsciiArtBuilder.asAsciiArt(int aWidth,
Font aFont,
AsciiArtMode aAsciiArtMode,
char[] aPalette,
String... aLines) |
Produces ASCII-Art from the provided arguments.
|
static String[] |
AsciiArtBuilder.asAsciiArt(int aWidth,
Font aFont,
AsciiArtMode aAsciiArtMode,
String[] aLines,
char... aPalette) |
Produces ASCII-Art from the provided arguments.
|
static String[] |
AsciiArtBuilder.asAsciiArt(File aImageFile,
int aWidth,
AsciiArtMode aAsciiArtMode,
PixmapRatioMode aPixmapRatioMode,
char... aPalette) |
Produces ASCII-Art from the provided arguments.
|
static String[] |
AsciiArtBuilder.asAsciiArt(String aText,
int aWidth,
Font aFont,
AsciiArtMode aAsciiArtMode,
char... aPalette) |
Produces ASCII-Art from the provided arguments.
|
static String[] |
AsciiArtBuilder.asAsciiArt(org.refcodes.graphical.RgbPixmap aPixmap,
int aWidth,
AsciiArtMode aAsciiArtMode,
PixmapRatioMode aPixmapRatioMode,
char... aPalette) |
Produces ASCII-Art from the provided arguments.
|
static String[] |
AsciiArtBuilder.asSimpleBanner(String aText,
int aWidth,
AsciiArtMode aAsciiArtMode,
char... aPalette) |
Fallback in case creating the ASCII-Art banner failed (can happen in the
GraalVM with poor AWT support for rendering fonts.
|
void |
AsciiArtBuilder.setAsciiArtMode(AsciiArtMode aAsciiArtMode) |
Sets the ASCII-Art mode for the ASCII_HEADER_ASCII_BODY art mode
property.
|
AsciiArtBuilder |
AsciiArtBuilder.withAsciiArtMode(AsciiArtMode aAsciiArtMode) |
Sets the ASCII-Art mode for the ASCII_HEADER_ASCII_BODY art mode
property.
|
Copyright © 2021. All rights reserved.