软件包 | 描述 |
---|---|
java.awt.font |
提供有关字体的类和接口。
|
Modifier and Type | Method and Description |
---|---|
TextLayout |
TextLayout.getJustifiedLayout(float justificationWidth)
复制这
TextLayout 对齐到指定的宽度。
|
TextLayout |
TextMeasurer.getLayout(int start, int limit)
返回在给定的字符范围
TextLayout 。
|
TextLayout |
LineBreakMeasurer.nextLayout(float wrappingWidth)
返回下一个布局,并更新当前位置。
|
TextLayout |
LineBreakMeasurer.nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)
返回下一个布局,并更新当前位置。
|
Modifier and Type | Method and Description |
---|---|
boolean |
TextLayout.equals(TextLayout rhs)
返回
true 如果两种布局都是平等的。
|
TextHitInfo |
TextLayout.CaretPolicy.getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)
选择一个指定的
TextHitInfo 实例作为指定的
TextLayout 强大的符号。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.