Class TextStyle
- java.lang.Object
- 
- com.inductiveautomation.snap.text.TextStyle
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
 - 
Nested classes/interfaces inherited from interface com.inductiveautomation.snap.text.TextTypesTextTypes.TabType
 
- 
 - 
Field Summary- 
Fields inherited from interface com.inductiveautomation.snap.text.TextTypesTEXT_CHAR_SPACING, TEXT_COLOR, TEXT_FONT, TEXT_FORMAT, TEXT_LINK, TEXT_OUTLINE, TEXT_SCRIPTING, TEXT_UNDERLINE
 
- 
 - 
Constructor SummaryConstructors Constructor Description TextStyle()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TextStyleclone()Standard clone implementation.TextStyleclone(SnapColor aColor)Clone with color.TextStyleclone(SnapFont aFont)Clone with font.TextStyleclone(java.lang.String aKey, java.lang.Object aValue)Clone with key/value.TextStyleclone(java.util.Map<?,?> aMap)Clone with map.booleanequals(java.lang.Object anObj)Standard equals implementation.doublegetCharSpacing()Returns the char spacing.SnapColorgetColor()Returns the color for this run.SnapFontgetFont()Returns the font for this run.TextLinkgetLink()Returns the link.intgetScripting()Returns the scripting for this run (1=SuperScripting, -1=Subscripting, 0=none).intgetUnderlineStyle()Returns the underline style of this run.inthashCode()Standard hashCode implementation.booleanisUnderlined()Returns whether this run is underlined.java.lang.StringtoString()Standard toString implementation.
 
- 
- 
- 
Method Detail- 
getFontpublic SnapFont getFont() Returns the font for this run.
 - 
getColorpublic SnapColor getColor() Returns the color for this run.
 - 
isUnderlinedpublic boolean isUnderlined() Returns whether this run is underlined.
 - 
getUnderlineStylepublic int getUnderlineStyle() Returns the underline style of this run.
 - 
getScriptingpublic int getScripting() Returns the scripting for this run (1=SuperScripting, -1=Subscripting, 0=none).
 - 
getCharSpacingpublic double getCharSpacing() Returns the char spacing.
 - 
getLinkpublic TextLink getLink() Returns the link.
 - 
equalspublic boolean equals(java.lang.Object anObj) Standard equals implementation.- Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() Standard hashCode implementation.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
clonepublic TextStyle clone() Standard clone implementation.- Overrides:
- clonein class- java.lang.Object
 
 - 
clonepublic TextStyle clone(java.lang.String aKey, java.lang.Object aValue) Clone with key/value.
 - 
clonepublic TextStyle clone(java.util.Map<?,?> aMap) Clone with map.
 - 
toStringpublic java.lang.String toString() Standard toString implementation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-