Class RMTextLayoutInPath

All Implemented Interfaces:
RMTypes, RMTextTypes, Shape, Serializable, CharSequence, Cloneable

public class RMTextLayoutInPath extends RMTextLayout
Performs text layout in a path.
See Also:
  • Constructor Details

    • RMTextLayoutInPath

      public RMTextLayoutInPath(RMPath aPath)
      Creates a new RMTextLayoutInPath for given path.
  • Method Details

    • getPath

      public RMPath getPath()
      Returns the path that the text should wrap to.
    • setPath

      public void setPath(RMPath aPath)
      Sets the path that the text should wrap to.
    • getNextLineStartPoint

      public Point2D getNextLineStartPoint(RMXStringRun aRun)
      Returns what this line thinks is the next line's x.
      Overrides:
      getNextLineStartPoint in class RMTextLayout
    • createLine

      protected RMTextLine createLine()
      Override to create text line in path.
      Overrides:
      createLine in class RMTextLayout