软件包 | 描述 |
---|---|
java.awt.font |
提供有关字体的类和接口。
|
Modifier and Type | Field and Description |
---|---|
static TextLayout.CaretPolicy |
TextLayout.DEFAULT_CARET_POLICY
这
CaretPolicy 时使用的政策不是由客户指定。
|
Modifier and Type | Method and Description |
---|---|
Shape[] |
TextLayout.getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)
返回两个路径对应的强与弱符号。
|
TextHitInfo |
TextLayout.getNextLeftHit(int offset, TextLayout.CaretPolicy policy)
返回到左下插入命中(上);如果没有这样的打击,返回
null 。
|
TextHitInfo |
TextLayout.getNextRightHit(int offset, TextLayout.CaretPolicy policy)
返回到正确的下一个符号的命中(底部);如果没有这样的打击,返回
null 。
|
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.