Modifier and Type | Method | Description |
---|---|---|
static FontStyle |
FontStyle.fromFontStyleCode(int aStyleCode) |
Retrieves the enumeration element representing the given font style code
(ignoring the case) or null if none was found.
|
static FontStyle |
FontStyle.fromFontStyleName(String aStyleName) |
Retrieves the enumeration element representing the given font name
(ignoring the case) or null if none was found.
|
FontStyle |
AsciiArtBuilder.getFontStyle() |
Retrieves the font style from the font style property.
|
FontStyle |
FontStyleAccessor.getFontStyle() |
Retrieves the font style from the font style property.
|
FontStyle |
FontImpl.getStyle() |
|
default FontStyle |
FontStyleAccessor.FontStyleProperty.letFontStyle(FontStyle aFontStyle) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
FontStyle
(setter) as of FontStyleAccessor.FontStyleMutator.setFontStyle(FontStyle) and returns the very
same value (getter). |
static FontStyle |
FontStyle.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FontStyle[] |
FontStyle.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
default FontStyle |
FontStyleAccessor.FontStyleProperty.letFontStyle(FontStyle aFontStyle) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
FontStyle
(setter) as of FontStyleAccessor.FontStyleMutator.setFontStyle(FontStyle) and returns the very
same value (getter). |
void |
AsciiArtBuilder.setFontStyle(FontStyle aFontStyle) |
Sets the font style for the font style property.
|
void |
FontStyleAccessor.FontStyleMutator.setFontStyle(FontStyle aFontStyle) |
Sets the font style for the font style property.
|
void |
FontImpl.setStyle(FontStyle aFontStyle) |
|
AsciiArtBuilder |
AsciiArtBuilder.withFontStyle(FontStyle aFontStyle) |
Sets the font style for the font style property.
|
B |
FontStyleAccessor.FontStyleBuilder.withFontStyle(FontStyle aFontStyle) |
Sets the font style for the font style property.
|
Font |
FontImpl.withStyle(FontStyle aFontStyle) |
Constructor | Description |
---|---|
FontImpl(String aFontName,
FontStyle aFontStyle) |
Instantiates a new font impl.
|
FontImpl(String aFontName,
FontStyle aFontStyle,
int aFontSize) |
Instantiates a new font impl.
|
FontImpl(FontFamily aFontType,
FontStyle aFontStyle) |
Instantiates a new font impl.
|
FontImpl(FontFamily aFontType,
FontStyle aFontStyle,
int aFontSize) |
Instantiates a new font impl.
|
Copyright © 2021. All rights reserved.