TextLayout « java.awt.font « Java by API






1.new TextLayout(String string, Font font, FontRenderContext frc)
2.TextLayout: draw(Graphics2D g2, float x, float y)
3.TextLayout: getAdvance()
4.TextLayout: getAscent()
5.TextLayout: getDescent()
6.TextLayout: getJustifiedLayout(float justificationWidth)
7.TextLayout: getLeading()
8.TextLayout: getVisibleAdvance()
9.TextLayout: hitTestChar(float x, float y)








10.TextLayout: isLeftToRight()