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, Shape, Serializable, CharSequence, Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class Rectangle2D
Rectangle2D.Double, Rectangle2D.FloatNested classes/interfaces inherited from interface RMTextTypes
RMTextTypes.TabTypeNested classes/interfaces inherited from interface RMTypes
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY -
Field Summary
Fields inherited from class Rectangle2D.Double
height, width, x, yFields inherited from class Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOPFields inherited from interface RMTextTypes
TEXT_CHAR_SPACING, TEXT_COLOR, TEXT_EMBEDDED_SHAPE, TEXT_FONT, TEXT_FORMAT, TEXT_OUTLINE, TEXT_PARAGRAPH, TEXT_SCRIPTING, TEXT_UNDERLINE -
Constructor Summary
ConstructorsConstructorDescriptionRMTextLayoutInPath(RMPath aPath) Creates a new RMTextLayoutInPath for given path. -
Method Summary
Modifier and TypeMethodDescriptionintaddChars(RMXStringRun aRun, int aStart, int anEnd) Adds chars to text layout.protected RMTextLineOverride to create text line in path.Returns what this line thinks is the next line's x.getPath()Returns the path that the text should wrap to.protected voidPerforms text layout.voidSets the path that the text should wrap to.Methods inherited from class RMTextLayout
addChar, 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, layoutToFit, length, pathlineTo, pathmoveTo, performAlignmentY, removeLine, setAlignHeight, setAlignmentY, setEnd, setFontScale, setLocked, setNeedsLayout, setStart, setUseFractionalMetrics, setXString, subSequence, toStringMethods inherited from class Rectangle2D.Double
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRectMethods inherited from class Rectangle2D
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionMethods inherited from class RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalMethods inherited from interface CharSequence
chars, codePoints, getChars, isEmpty
-
Constructor Details
-
RMTextLayoutInPath
Creates a new RMTextLayoutInPath for given path.
-
-
Method Details
-
getPath
Returns the path that the text should wrap to. -
setPath
Sets the path that the text should wrap to. -
getNextLineStartPoint
Returns what this line thinks is the next line's x.- Overrides:
getNextLineStartPointin classRMTextLayout
-
createLine
Override to create text line in path.- Overrides:
createLinein classRMTextLayout
-
layoutText
-
addChars
Adds chars to text layout.- Overrides:
addCharsin classRMTextLayout
-