Class RMTextShapeUtils


  • public class RMTextShapeUtils
    extends java.lang.Object
    Utility methods for some esoteric text functionality.
    • Constructor Detail

      • RMTextShapeUtils

        public RMTextShapeUtils()
    • Method Detail

      • getTextPath

        public static RMPath getTextPath​(RMTextShape aText)
        Returns a path for all text chars.
      • getTextPathShape

        public 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.
      • getTextRunPathShape

        public static RMPolygonShape getTextRunPathShape​(RMTextShape aText,
                                                         RMTextRun aRun)
        Returns a polygon shape for the glyphs in a given text run.
      • getTextCharsShape

        public static RMShape getTextCharsShape​(RMTextShape aText)
        Returns a group shape with a text shape for each individual character in this text shape.