Package com.inductiveautomation.rm.text
Class RMTextLayoutInPath
- java.lang.Object
- 
- java.awt.geom.RectangularShape
- 
- java.awt.geom.Rectangle2D
- 
- java.awt.geom.Rectangle2D.Double
- 
- com.inductiveautomation.rm.text.RMTextLayout
- 
- com.inductiveautomation.rm.text.RMTextLayoutInPath
 
 
 
 
 
- 
- All Implemented Interfaces:
- RMTypes,- RMTextTypes,- java.awt.Shape,- java.io.Serializable,- java.lang.CharSequence,- java.lang.Cloneable
 
 public class RMTextLayoutInPath extends RMTextLayout Performs text layout in a path.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2Djava.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
 - 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.text.RMTextTypesRMTextTypes.TabType
 - 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
 
- 
 - 
Field Summary- 
Fields 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 Constructor Description RMTextLayoutInPath(RMPath aPath)Creates a new RMTextLayoutInPath for given path.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RMTextLinecreateLine()Override to create text line in path.java.awt.geom.Point2DgetNextLineStartPoint(RMXStringRun aRun)Returns what this line thinks is the next line's x.RMPathgetPath()Returns the path that the text should wrap to.voidsetPath(RMPath aPath)Sets the path that the text should wrap to.- 
Methods inherited from class com.inductiveautomation.rm.text.RMTextLayoutaddChar, addChars, addLine, addRun, charAt, createRun, deleteChars, getAlignmentY, getCharIndex, getCharIndex, getEnd, getFontScale, getHeightToFit, getIndent, getLine, getLine, getLineCount, getLineForChar, getLineForPointY, getLineLast, getLongWordFound, getNeedsLayout, getPathForChars, getPointForChar, getRanOutOfRoom, getRun, getRun, getRunCount, getRunForPoint, getRunLast, getStart, getUseFractionalMetrics, getWidthToFit, getWrapped, getXString, isLocked, layout, layoutText, layoutToFit, length, pathlineTo, pathmoveTo, performAlignmentY, removeLine, setAlignHeight, setAlignmentY, setFontScale, setLocked, setNeedsLayout, setStart, setUseFractionalMetrics, setXString, subSequence, toString
 - 
Methods inherited from class java.awt.geom.Rectangle2D.DoublecreateIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect
 - 
Methods inherited from class java.awt.geom.Rectangle2Dadd, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
 - 
Methods inherited from class java.awt.geom.RectangularShapeclone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
- 
 
- 
- 
- 
Constructor Detail- 
RMTextLayoutInPathpublic RMTextLayoutInPath(RMPath aPath) Creates a new RMTextLayoutInPath for given path.
 
- 
 - 
Method Detail- 
getPathpublic RMPath getPath() Returns the path that the text should wrap to.
 - 
setPathpublic void setPath(RMPath aPath) Sets the path that the text should wrap to.
 - 
getNextLineStartPointpublic java.awt.geom.Point2D getNextLineStartPoint(RMXStringRun aRun) Returns what this line thinks is the next line's x.- Overrides:
- getNextLineStartPointin class- RMTextLayout
 
 - 
createLineprotected RMTextLine createLine() Override to create text line in path.- Overrides:
- createLinein class- RMTextLayout
 
 
- 
 
-