Package com.inductiveautomation.rm.shape
Class RMTextShapeUtils
- java.lang.Object
- 
- com.inductiveautomation.rm.shape.RMTextShapeUtils
 
- 
 public class RMTextShapeUtils extends java.lang.ObjectUtility methods for some esoteric text functionality.
- 
- 
Constructor SummaryConstructors Constructor Description RMTextShapeUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static RMShapegetTextCharsShape(RMTextShape aText)Returns a group shape with a text shape for each individual character in this text shape.static RMPathgetTextPath(RMTextShape aText)Returns a path for all text chars.static RMPolygonShapegetTextPathShape(RMTextShape aText)Returns an RMPolygon shape with the glyph path for the chars in this text.static RMPathgetTextRunPath(RMTextShape aText, RMTextRun aRun)Returns a path for given run.static RMPolygonShapegetTextRunPathShape(RMTextShape aText, RMTextRun aRun)Returns a polygon shape for the glyphs in a given text run.
 
- 
- 
- 
Method Detail- 
getTextPathpublic static RMPath getTextPath(RMTextShape aText) Returns a path for all text chars.
 - 
getTextRunPathpublic static RMPath getTextRunPath(RMTextShape aText, RMTextRun aRun) Returns a path for given run.
 - 
getTextPathShapepublic static RMPolygonShape getTextPathShape(RMTextShape aText) Returns an RMPolygon shape with the glyph path for the chars in this text. Assumes all runs have same visual attrs.
 - 
getTextRunPathShapepublic static RMPolygonShape getTextRunPathShape(RMTextShape aText, RMTextRun aRun) Returns a polygon shape for the glyphs in a given text run.
 - 
getTextCharsShapepublic static RMShape getTextCharsShape(RMTextShape aText) Returns a group shape with a text shape for each individual character in this text shape.
 
- 
 
-