Methods Summary |
---|
abstract boolean | charHasZeroAdvance(int index)Checks if the character doesn't contribute to the text advance
|
public abstract java.lang.Object | clone()
|
abstract float | doJustification(TextRunBreaker.JustificationInfo[] jInfos)Performs justification of the segment.
Updates positions of individual characters.
|
abstract void | draw(java.awt.Graphics2D g2d, float xOffset, float yOffset)Renders this text run segment
|
abstract float | getAdvance()Calculates advance of the segment
|
abstract float | getAdvanceDelta(int start, int end)Calculates advance delta between two characters
|
abstract float | getCharAdvance(int index)Returns the advance of the individual character
|
abstract int | getCharIndexFromAdvance(float advance, int start)Calculates index of the character which advance is equal to
the given. If the given advance is greater then the segment
advance it returns the position after the last character.
|
abstract float | getCharPosition(int index)Calculates position of the character on the screen
|
abstract java.awt.Shape | getCharsBlackBoxBounds(int start, int limit)Creates black box bounds shape for the specified range
|
abstract int | getEnd()Returns end index of the segment
|
abstract int | getLength()Returns the number of characters in the segment
|
abstract java.awt.geom.Rectangle2D | getLogicalBounds()Returns logical bounds of this segment
|
abstract java.awt.Shape | getOutline()Returns the outline shape
|
abstract int | getStart()Returns start index of the segment
|
abstract java.awt.geom.Rectangle2D | getVisualBounds()Returns visual bounds of this segment
|
abstract java.awt.font.TextHitInfo | hitTest(float x, float y)Creates text hit info from the hit position
|
abstract void | updateJustificationInfo(TextRunBreaker.JustificationInfo jInfo)Collects justification information into JustificationInfo object
|