Package com.inductiveautomation.rm.text
Class RMTextStyle
java.lang.Object
com.inductiveautomation.rm.text.RMTextStyle
- All Implemented Interfaces:
- RMTypes,- RMTextTypes,- Cloneable
A class to hold style attributes for a text run.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.rm.text.RMTextTypesRMTextTypes.TabTypeNested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
- 
Field SummaryFields inherited from interface com.inductiveautomation.rm.text.RMTextTypesTEXT_CHAR_SPACING, TEXT_COLOR, TEXT_EMBEDDED_SHAPE, TEXT_FONT, TEXT_FORMAT, TEXT_OUTLINE, TEXT_PARAGRAPH, TEXT_SCRIPTING, TEXT_UNDERLINE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Standard clone implementation.Clone with color.Clone with font.Clone with key/value.Clone with map.booleanStandard equals implementation.getAttribute(String aKey) Returns the default for a given key.doubleReturns the char spacing.getColor()Returns the color for this run.getFont()Returns the font for this run.Returns the format.Returns the outline.Returns the paragraph.intReturns the scripting for this run (1=SuperScripting, -1=Subscripting, 0=none).intReturns the underline style of this run.booleanReturns whether this run is underlined.toString()Standard toString implementation.
- 
Constructor Details- 
RMTextStyleCreates a new RMTextStyle.
 
- 
- 
Method Details- 
getFontReturns the font for this run.
- 
getColorReturns 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.
- 
getParagraphReturns the paragraph.
- 
getFormatReturns the format.
- 
getOutlineReturns the outline.
- 
getAttributeReturns the default for a given key.
- 
equalsStandard equals implementation.
- 
cloneStandard clone implementation.
- 
cloneClone with font.
- 
cloneClone with color.
- 
cloneClone with key/value.
- 
cloneClone with map.
- 
toStringStandard toString implementation.
 
-