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 Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.text.RMTextTypes
RMTextTypes.TabTypeNested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypes
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY - 
Field Summary
Fields inherited from interface com.inductiveautomation.rm.text.RMTextTypes
TEXT_CHAR_SPACING, TEXT_COLOR, TEXT_EMBEDDED_SHAPE, TEXT_FONT, TEXT_FORMAT, TEXT_OUTLINE, TEXT_PARAGRAPH, TEXT_SCRIPTING, TEXT_UNDERLINE - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
RMTextStyle
Creates a new RMTextStyle. 
 - 
 - 
Method Details
- 
getFont
Returns the font for this run. - 
getColor
Returns the color for this run. - 
isUnderlined
public boolean isUnderlined()Returns whether this run is underlined. - 
getUnderlineStyle
public int getUnderlineStyle()Returns the underline style of this run. - 
getScripting
public int getScripting()Returns the scripting for this run (1=SuperScripting, -1=Subscripting, 0=none). - 
getCharSpacing
public double getCharSpacing()Returns the char spacing. - 
getParagraph
Returns the paragraph. - 
getFormat
Returns the format. - 
getOutline
Returns the outline. - 
getAttribute
Returns the default for a given key. - 
equals
Standard equals implementation. - 
clone
Standard clone implementation. - 
clone
Clone with font. - 
clone
Clone with color. - 
clone
Clone with key/value. - 
clone
Clone with map. - 
toString
Standard toString implementation. 
 -