public class TextStyle extends Object
| Constructor | Description |
|---|---|
TextStyle() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
TextStyle |
fontName(String fontName) |
|
TextStyle |
fontSize(Double fontSize) |
|
String |
getFontName() |
Gets or sets the name of the font.
|
Double |
getFontSize() |
Gets or sets the size of the font.
|
Boolean |
getIsBold() |
Gets or sets the value that indicates whether the font is bold.
|
Boolean |
getIsItalic() |
Gets or sets the value that indicates whether the font is italic.
|
String |
getName() |
Gets or sets the style name.
|
int |
hashCode() |
|
TextStyle |
isBold(Boolean isBold) |
|
TextStyle |
isItalic(Boolean isItalic) |
|
TextStyle |
name(String name) |
|
void |
setFontName(String fontName) |
|
void |
setFontSize(Double fontSize) |
|
void |
setIsBold(Boolean isBold) |
|
void |
setIsItalic(Boolean isItalic) |
|
void |
setName(String name) |
|
String |
toString() |
public String getFontName()
public void setFontName(String fontName)
public Double getFontSize()
public void setFontSize(Double fontSize)
public Boolean getIsBold()
public void setIsBold(Boolean isBold)
public Boolean getIsItalic()
public void setIsItalic(Boolean isItalic)
public String getName()
public void setName(String name)
Copyright © 2025. All rights reserved.