Class TextStyle
java.lang.Object
com.motivewave.platform.sdk.common.TextStyle
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a clone (copy) of this object.boolean
Compares the give object with this object and returns true if they are equal.static TextStyle
getColor()
getFont()
javafx.scene.text.Font
int
int
hashCode()
boolean
isBold()
boolean
isItalic()
boolean
static TextStyle
double
toJson()
withBgColor
(Color c) withBold
(boolean bold) withItalic
(boolean italic) withSize
(float size) withStyle
(int style) withUnderline
(boolean b) static String
writeStyle
(TextStyle ts)
-
Constructor Details
-
TextStyle
-
TextStyle
-
TextStyle
-
TextStyle
public TextStyle(float fs) -
TextStyle
-
TextStyle
-
-
Method Details
-
strWidth
-
getFont
-
getFontFX
public javafx.scene.text.Font getFontFX() -
getColor
-
getColor
-
getBgColor
-
isBold
public boolean isBold() -
isItalic
public boolean isItalic() -
isUnderline
public boolean isUnderline() -
withColor
-
withBgColor
-
withFont
-
withStyle
-
withBold
-
withItalic
-
withUnderline
-
withSize
-
getFontMetrics
-
getHeight
public int getHeight() -
equals
-
hashCode
-
clone
-
toJson
-
fromJson
-
readStyle
-
writeStyle
-