public final class BananaUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
bananaify(String text)
Returns the FIGlet of the text.
|
static String |
bananaify(String text,
Font font)
Returns the FIGlet of the text with the specified font.
|
static String |
bananaify(String text,
Font font,
Layout horizontalLayout,
Layout verticalLayout)
Returns the FIGlet of the text with the specified font.
|
static String |
bananaify(String text,
Layout horizontalLayout,
Layout verticalLayout)
Returns the FIGlet of the text.
|
static String |
bananansi(String text,
Ansi... styles)
Returns the FIGlet of the text with the specified styles.
|
static String |
bananansi(String text,
Font font,
Ansi... styles)
Returns the FIGlet of the text with the specified font and styles.
|
static String |
bananansi(String text,
Font font,
Layout horizontalLayout,
Layout verticalLayout,
Ansi... styles)
Returns the FIGlet of the text with the specified font and styles.
|
static String |
bananansi(String text,
Layout horizontalLayout,
Layout verticalLayout,
Ansi... styles)
Returns the FIGlet of the text with the specified styles.
|
static List<Font> |
fonts()
Returns all fonts.
|
static String[] |
generateFiglet(String text,
Font font,
Layout horizontalLayout,
Layout verticalLayout)
Returns the FIGlet of the text with the specified font.
|
public static String bananaify(String text)
text - the original text.public static String bananaify(String text, Layout horizontalLayout, Layout verticalLayout)
text - the original text.horizontalLayout - the horizontal layout.verticalLayout - the vertical layout.public static String bananaify(String text, Font font)
text - the original text.font - the specified font.public static String bananaify(String text, Font font, Layout horizontalLayout, Layout verticalLayout)
text - the original text.font - the specified font.horizontalLayout - the horizontal layout.verticalLayout - the vertical layout.public static String bananansi(String text, Ansi... styles)
text - the original text.styles - the specified styles.public static String bananansi(String text, Layout horizontalLayout, Layout verticalLayout, Ansi... styles)
text - the original text.horizontalLayout - the horizontal layout.verticalLayout - the vertical layout.styles - the specified styles.public static String bananansi(String text, Font font, Ansi... styles)
text - the original text.font - the specified font.styles - the specified styles.public static String bananansi(String text, Font font, Layout horizontalLayout, Layout verticalLayout, Ansi... styles)
text - the original text.font - the specified font.horizontalLayout - the horizontal layout.verticalLayout - the vertical layout.styles - the specified styles.public static String[] generateFiglet(String text, Font font, Layout horizontalLayout, Layout verticalLayout)
text - the original text.font - the specified font.horizontalLayout - the horizontal layout.verticalLayout - the vertical layout.Copyright © 2021. All rights reserved.