Package | Description |
---|---|
com.sun.javafx.font.directwrite | |
com.sun.javafx.scene.text | |
com.sun.javafx.text | |
javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
Modifier and Type | Method and Description |
---|---|
protected TextRun |
DWGlyphLayout.addTextRun(PrismTextLayout layout,
char[] chars,
int start,
int length,
PGFont font,
TextSpan span,
byte level) |
Modifier and Type | Method and Description |
---|---|
TextSpan |
GlyphList.getTextSpan()
Used during layout children (for rich text)
can be null (for non-rich text) but never null for rich text.
|
Modifier and Type | Method and Description |
---|---|
BaseBounds |
TextLayout.getBounds(TextSpan filter,
BaseBounds bounds) |
Shape |
TextLayout.getShape(int type,
TextSpan filter)
Returns the shape of the entire text layout relative to the baseline
of the first line.
|
boolean |
TextLayout.setContent(TextSpan[] spans)
Sets the content for the TextLayout.
|
Modifier and Type | Field and Description |
---|---|
(package private) TextSpan |
TextRun.span |
private TextSpan[] |
PrismTextLayout.spans |
Modifier and Type | Method and Description |
---|---|
TextSpan |
TextRun.getTextSpan() |
TextSpan[] |
PrismTextLayout.getTextSpans() |
Modifier and Type | Method and Description |
---|---|
protected TextRun |
GlyphLayout.addTextRun(PrismTextLayout layout,
char[] chars,
int start,
int length,
PGFont font,
TextSpan span,
byte level) |
private TextRun |
GlyphLayout.addTextRun(PrismTextLayout layout,
char[] chars,
int start,
int length,
PGFont font,
TextSpan span,
byte level,
boolean complex) |
BaseBounds |
PrismTextLayout.getBounds(TextSpan filter,
BaseBounds bounds) |
Shape |
PrismTextLayout.getShape(int type,
TextSpan filter) |
boolean |
PrismTextLayout.setContent(TextSpan[] spans)
*
TextLayout API *
*
|
Constructor and Description |
---|
TextRun(int start,
int length,
byte level,
boolean complex,
int script,
TextSpan span,
int slot,
boolean canonical) |
Modifier and Type | Class and Description |
---|---|
private static class |
TextFlow.EmbeddedSpan |
Modifier and Type | Field and Description |
---|---|
private TextSpan |
Text.textSpan |
Modifier and Type | Method and Description |
---|---|
(package private) TextSpan |
Text.getTextSpan() |