- public interface ClasspathTextLayoutPeer
|
Method Summary |
java.lang.Object |
clone()
|
void |
draw(java.awt.Graphics2D g2,
float x,
float y)
|
boolean |
equals(ClasspathTextLayoutPeer tl)
|
float |
getAdvance()
|
float |
getAscent()
|
byte |
getBaseline()
|
float[] |
getBaselineOffsets()
|
java.awt.Shape |
getBlackBoxBounds(int firstEndpoint,
int secondEndpoint)
|
java.awt.geom.Rectangle2D |
getBounds()
|
float[] |
getCaretInfo(java.awt.font.TextHitInfo hit,
java.awt.geom.Rectangle2D bounds)
|
java.awt.Shape |
getCaretShape(java.awt.font.TextHitInfo hit,
java.awt.geom.Rectangle2D bounds)
|
java.awt.Shape[] |
getCaretShapes(int offset,
java.awt.geom.Rectangle2D bounds,
java.awt.font.TextLayout.CaretPolicy policy)
|
int |
getCharacterCount()
|
byte |
getCharacterLevel(int index)
|
float |
getDescent()
|
java.awt.font.TextLayout |
getJustifiedLayout(float justificationWidth)
|
float |
getLeading()
|
java.awt.Shape |
getLogicalHighlightShape(int firstEndpoint,
int secondEndpoint,
java.awt.geom.Rectangle2D bounds)
|
int[] |
getLogicalRangesForVisualSelection(java.awt.font.TextHitInfo firstEndpoint,
java.awt.font.TextHitInfo secondEndpoint)
|
java.awt.font.TextHitInfo |
getNextLeftHit(int offset,
java.awt.font.TextLayout.CaretPolicy policy)
|
java.awt.font.TextHitInfo |
getNextRightHit(int offset,
java.awt.font.TextLayout.CaretPolicy policy)
|
java.awt.Shape |
getOutline(java.awt.geom.AffineTransform tx)
|
java.awt.font.TextHitInfo |
getStrongCaret(java.awt.font.TextHitInfo hit1,
java.awt.font.TextHitInfo hit2)
|
float |
getVisibleAdvance()
|
java.awt.Shape |
getVisualHighlightShape(java.awt.font.TextHitInfo firstEndpoint,
java.awt.font.TextHitInfo secondEndpoint,
java.awt.geom.Rectangle2D bounds)
|
java.awt.font.TextHitInfo |
getVisualOtherHit(java.awt.font.TextHitInfo hit)
|
void |
handleJustify(float justificationWidth)
|
int |
hashCode()
|
java.awt.font.TextHitInfo |
hitTestChar(float x,
float y,
java.awt.geom.Rectangle2D bounds)
|
boolean |
isLeftToRight()
|
boolean |
isVertical()
|
java.lang.String |
toString()
|
getStrongCaret
public java.awt.font.TextHitInfo getStrongCaret(java.awt.font.TextHitInfo hit1,
java.awt.font.TextHitInfo hit2)
draw
public void draw(java.awt.Graphics2D g2,
float x,
float y)
getBaseline
public byte getBaseline()
isLeftToRight
public boolean isLeftToRight()
isVertical
public boolean isVertical()
getAdvance
public float getAdvance()
getAscent
public float getAscent()
getDescent
public float getDescent()
getLeading
public float getLeading()
getCharacterCount
public int getCharacterCount()
getCharacterLevel
public byte getCharacterLevel(int index)
getBaselineOffsets
public float[] getBaselineOffsets()
getBlackBoxBounds
public java.awt.Shape getBlackBoxBounds(int firstEndpoint,
int secondEndpoint)
getBounds
public java.awt.geom.Rectangle2D getBounds()
getCaretInfo
public float[] getCaretInfo(java.awt.font.TextHitInfo hit,
java.awt.geom.Rectangle2D bounds)
getCaretShape
public java.awt.Shape getCaretShape(java.awt.font.TextHitInfo hit,
java.awt.geom.Rectangle2D bounds)
getCaretShapes
public java.awt.Shape[] getCaretShapes(int offset,
java.awt.geom.Rectangle2D bounds,
java.awt.font.TextLayout.CaretPolicy policy)
getLogicalHighlightShape
public java.awt.Shape getLogicalHighlightShape(int firstEndpoint,
int secondEndpoint,
java.awt.geom.Rectangle2D bounds)
getLogicalRangesForVisualSelection
public int[] getLogicalRangesForVisualSelection(java.awt.font.TextHitInfo firstEndpoint,
java.awt.font.TextHitInfo secondEndpoint)
getNextLeftHit
public java.awt.font.TextHitInfo getNextLeftHit(int offset,
java.awt.font.TextLayout.CaretPolicy policy)
getNextRightHit
public java.awt.font.TextHitInfo getNextRightHit(int offset,
java.awt.font.TextLayout.CaretPolicy policy)
hitTestChar
public java.awt.font.TextHitInfo hitTestChar(float x,
float y,
java.awt.geom.Rectangle2D bounds)
getVisualOtherHit
public java.awt.font.TextHitInfo getVisualOtherHit(java.awt.font.TextHitInfo hit)
getVisibleAdvance
public float getVisibleAdvance()
getOutline
public java.awt.Shape getOutline(java.awt.geom.AffineTransform tx)
getVisualHighlightShape
public java.awt.Shape getVisualHighlightShape(java.awt.font.TextHitInfo firstEndpoint,
java.awt.font.TextHitInfo secondEndpoint,
java.awt.geom.Rectangle2D bounds)
getJustifiedLayout
public java.awt.font.TextLayout getJustifiedLayout(float justificationWidth)
handleJustify
public void handleJustify(float justificationWidth)
clone
public java.lang.Object clone()
hashCode
public int hashCode()
equals
public boolean equals(ClasspathTextLayoutPeer tl)
toString
public java.lang.String toString()