Modifier and Type | Class | Description |
---|---|---|
class |
FontImpl |
The Class FontImpl.
|
Modifier and Type | Method | Description |
---|---|---|
Font |
AsciiArtBuilder.getFont() |
Retrieves the font from the font property.
|
Font |
FontAccessor.getFont() |
Retrieves the font from the font property.
|
default Font |
FontAccessor.FontProperty.letFont(Font aFont) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
Font (setter) as
of FontAccessor.FontMutator.setFont(Font) and returns the very same value (getter). |
Font |
FontImpl.withFamily(FontFamily aFontName) |
|
Font |
FontImpl.withName(String aFontName) |
|
Font |
FontImpl.withSize(int aFontSize) |
|
Font |
FontImpl.withStyle(FontStyle aFontStyle) |
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(String aText,
int aWidth,
Font aFont,
AsciiArtMode aAsciiArtMode,
char... aPalette) |
Produces ASCII-Art from the provided arguments.
|
default Font |
FontAccessor.FontProperty.letFont(Font aFont) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
Font (setter) as
of FontAccessor.FontMutator.setFont(Font) and returns the very same value (getter). |
void |
AsciiArtBuilder.setFont(Font aFont) |
Sets the font for the font property.
|
void |
FontAccessor.FontMutator.setFont(Font aFont) |
Sets the font for the font property.
|
protected static String[] |
AsciiArtBuilder.toAsciiArt(String aText,
int aWidth,
Font aFont,
char[] aPalette) |
|
protected static String[] |
AsciiArtBuilder.toAsciiArt(String aText,
Font aFont) |
|
protected static String[] |
AsciiArtBuilder.toAsciiArt(String aText,
Font aFont,
char[] aPalette) |
|
protected static String[] |
AsciiArtBuilder.toInverseAsciiArt(String aText,
int aWidth,
Font aFont,
char[] aPalette) |
Same as
AsciiArtBuilder.toAsciiArt(org.refcodes.graphical.RgbPixmap,char[]) with inverted colors (black = white, dark =
bright, bright = dark, white = black). |
protected static String[] |
AsciiArtBuilder.toInverseAsciiArt(String aText,
Font aFont) |
Same as
AsciiArtBuilder.toAsciiArt(org.refcodes.graphical.RgbPixmap,char[]) with inverted colors (black = white, dark =
bright, bright = dark, white = black). |
protected static String[] |
AsciiArtBuilder.toInverseAsciiArt(String aText,
Font aFont,
char[] aPalette) |
Same as
AsciiArtBuilder.toAsciiArt(org.refcodes.graphical.RgbPixmap,char[]) with inverted colors (black = white, dark =
bright, bright = dark, white = black). |
AsciiArtBuilder |
AsciiArtBuilder.withFont(Font aFont) |
Sets the font for the font property.
|
B |
FontAccessor.FontBuilder.withFont(Font aFont) |
Sets the font for the font property.
|
Copyright © 2021. All rights reserved.