public class RMTextLayoutInPath extends RMTextLayout
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
RMTextTypes.Attribute, RMTextTypes.TabType
RMTypes.AlignX, RMTypes.AlignY
Constructor and Description |
---|
RMTextLayoutInPath(RMPath aPath)
Creates a new RMTextLayoutInPath for given path.
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
getNextLineStartPoint(RMXStringRun aRun)
Returns what this line thinks is the next line's x.
|
RMPath |
getPath()
Returns the path that the text should wrap to.
|
java.awt.geom.GeneralPath |
getPathForChars(int aStart,
int anEnd)
Returns a path for two char indexes - concatenates paths for selected lines.
|
void |
setPath(RMPath aPath)
Sets the path that the text should wrap to.
|
addChars, addLine, addRun, charAt, createRun, deleteChars, getAlignmentY, getAllowPartialLastLine, getCharIndex, getCharIndex, getEnd, getFontScale, getHeightToFit, getIndent, getLine, getLine, getLineCount, getLineForChar, getLineForPointY, getLineLast, getLongWordFound, getPointForChar, getRanOutOfRoom, getRun, getRun, getRunCount, getRunForPoint, getRunLast, getStart, getUseFractionalMetrics, getValidIndex, getWidthToFit, getWrapped, getXString, isLocked, isTrim, length, paint, removeLine, setAlignmentY, setAllowPartialLastLine, setFontScale, setLocked, setStart, setTrim, setUseFractionalMetrics, setValidIndex, setXString, subSequence, toString, validate
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
public RMTextLayoutInPath(RMPath aPath)
public RMPath getPath()
public void setPath(RMPath aPath)
public java.awt.geom.Point2D getNextLineStartPoint(RMXStringRun aRun)
getNextLineStartPoint
in class RMTextLayout
public java.awt.geom.GeneralPath getPathForChars(int aStart, int anEnd)
getPathForChars
in class RMTextLayout