Class FontInfo
java.lang.Object
com.motivewave.platform.sdk.common.BaseInfo
com.motivewave.platform.sdk.common.FontInfo
- All Implemented Interfaces:
Cloneable
Describes settings information for a font and optional text/background colors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a clone (copy) of this object.booleanCompares the give object with this object and returns true if they are equal.static FontInfoGets the background color for displaying this font.getColor()Gets the text color for displaying this font.getFont()Gets the font.getValue()doubleprotected void
-
Constructor Details
-
FontInfo
-
FontInfo
-
FontInfo
-
FontInfo
Constructor- Parameters:
enabled- true if this font is enabledfont- fontcolor- text colorbgColor- background color
-
-
Method Details
-
updateKey
-
getValue
-
strWidth
-
getFont
-
getColor
Gets the text color for displaying this font.- Returns:
- text color for displaying this font
-
getBgColor
Gets the background color for displaying this font.- Returns:
- background color for displaying this font
-
equals
-
clone
-
toJson
-
fromJson
-