public class RMTextShapeRun extends RMTextRun
Constructor and Description |
---|
RMTextShapeRun(RMTextLayout aLayout)
Creates an new text shape run.
|
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Returns the height for this run - which is really shape height.
|
float |
getMaxAscent()
Returns the max ascent for run, using font - which is really shape half-height.
|
float |
getMaxDescent()
Returns the max descent for run, using font - which is really shape half-height.
|
RMShape |
getShape()
Returns the shape.
|
double |
getWidth()
Returns the width for this run - which is really shape width..
|
void |
paint(java.awt.Graphics2D aGraphics)
Paint shape run.
|
addChars, charAt, getCharIndex, getCharSpacing, getColor, getColorChanged, getEnd, getEndsWithNewline, getEndsWithWhiteSpace, getFont, getFontChanged, getIndex, getLastChar, getLayout, getLine, getNext, getOutline, getParagraph, getPointForChar, getRun, getRun, getRunAt, getRunCount, getRunLast, getScripting, getStart, getTab, getTabType, getUnderlineStroke, getUnderlineStyle, getUnderlineY, getXForChar, getXString, getYBaseline, glyphVector, isHyphenated, isLocked, isTab, isUnderlined, length, setHyphenated, setLocked, subSequence, toString
createIntersection, createUnion, getBounds2D, getX, getY, isEmpty, outcode, setRect, setRect
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
public RMTextShapeRun(RMTextLayout aLayout)
public RMShape getShape()
public double getWidth()
getWidth
in class java.awt.geom.Rectangle2D.Double
public double getHeight()
getHeight
in class java.awt.geom.Rectangle2D.Double
public float getMaxAscent()
public float getMaxDescent()