public class FontStyle extends Object
Constructor and Description |
---|
FontStyle(FontBase fontBase,
boolean italic,
boolean bold,
boolean underline,
boolean strikethrough,
Color color,
Color backgroundColor,
BackgroundPattern backgroundPattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor()
Retrieve the background color.
|
BackgroundPattern |
getBackgroundPattern()
Retrieve the background pattern.
|
boolean |
getBold()
Retrieve the bold flag.
|
Color |
getColor()
Retrieve the font color.
|
FontBase |
getFontBase()
Retrieve the font base instance.
|
boolean |
getItalic()
Retrieve the italic flag.
|
boolean |
getStrikethrough()
Retrieve the strikethrough flag.
|
boolean |
getUnderline()
Retrieve the underline flag.
|
String |
toString() |
public FontStyle(FontBase fontBase, boolean italic, boolean bold, boolean underline, boolean strikethrough, Color color, Color backgroundColor, BackgroundPattern backgroundPattern)
fontBase
- font base instanceitalic
- italic flagbold
- bold flagunderline
- underline flagstrikethrough
- strikethrough flagcolor
- color typebackgroundColor
- background colorbackgroundPattern
- background patternpublic FontBase getFontBase()
public boolean getBold()
public Color getColor()
public boolean getItalic()
public boolean getUnderline()
public boolean getStrikethrough()
public Color getBackgroundColor()
public BackgroundPattern getBackgroundPattern()
Copyright © 2000–2024 Packwood Software. All rights reserved.