Package | Description |
---|---|
java.awt.font |
Provides classes and interface relating to fonts.
|
Modifier and Type | Field and Description |
---|---|
static TextLayout.CaretPolicy |
TextLayout.DEFAULT_CARET_POLICY
This
CaretPolicy is used when a policy is not specified
by the client. |
Modifier and Type | Method and Description |
---|---|
Shape[] |
TextLayout.getCaretShapes(int offset,
Rectangle2D bounds,
TextLayout.CaretPolicy policy)
Returns two paths corresponding to the strong and weak caret.
|
TextHitInfo |
TextLayout.getNextLeftHit(int offset,
TextLayout.CaretPolicy policy)
Returns the hit for the next caret to the left (top); if no
such hit, returns
null . |
TextHitInfo |
TextLayout.getNextRightHit(int offset,
TextLayout.CaretPolicy policy)
Returns the hit for the next caret to the right (bottom); if no
such hit, returns
null . |
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.