public class TextState
extends java.lang.Object
Constructor and Description |
---|
TextState() |
Modifier and Type | Method and Description |
---|---|
TextState |
backgroundColor(Color backgroundColor) |
boolean |
equals(java.lang.Object o) |
TextState |
font(java.lang.String font) |
TextState |
fontFile(java.lang.String fontFile) |
TextState |
fontSize(java.lang.Double fontSize) |
TextState |
fontStyle(FontStyles fontStyle) |
TextState |
foregroundColor(Color foregroundColor) |
Color |
getBackgroundColor()
Sets background color of the text.
|
java.lang.String |
getFont()
Gets or sets font name of the text.
|
java.lang.String |
getFontFile()
Sets path of font file in storage.
|
java.lang.Double |
getFontSize()
Gets or sets font size of the text.
|
FontStyles |
getFontStyle()
Sets font style of the text.
|
Color |
getForegroundColor()
Gets or sets foreground color of the text.
|
int |
hashCode() |
void |
setBackgroundColor(Color backgroundColor) |
void |
setFont(java.lang.String font) |
void |
setFontFile(java.lang.String fontFile) |
void |
setFontSize(java.lang.Double fontSize) |
void |
setFontStyle(FontStyles fontStyle) |
void |
setForegroundColor(Color foregroundColor) |
java.lang.String |
toString() |
public TextState fontSize(java.lang.Double fontSize)
public java.lang.Double getFontSize()
public void setFontSize(java.lang.Double fontSize)
public TextState font(java.lang.String font)
public java.lang.String getFont()
public void setFont(java.lang.String font)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public TextState fontStyle(FontStyles fontStyle)
public FontStyles getFontStyle()
public void setFontStyle(FontStyles fontStyle)
public TextState fontFile(java.lang.String fontFile)
public java.lang.String getFontFile()
public void setFontFile(java.lang.String fontFile)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object