Package | Description |
---|---|
com.sun.javafx.font | |
com.sun.javafx.font.directwrite | |
com.sun.javafx.font.freetype | |
com.sun.javafx.text |
Modifier and Type | Method and Description |
---|---|
PGFont |
PrismFontFactory.createFont(String familyName,
boolean bold,
boolean italic,
float size) |
PGFont |
FontFactory.createFont(String family,
boolean bold,
boolean italic,
float size) |
PGFont |
PrismFontFactory.createFont(String name,
float size) |
PGFont |
FontFactory.createFont(String name,
float size) |
PGFont |
PrismFontFactory.deriveFont(PGFont font,
boolean bold,
boolean italic,
float size) |
PGFont |
FontFactory.deriveFont(PGFont font,
boolean bold,
boolean italic,
float size)
Creates a new Font object by replicating the current Font object
and applying a new bold style, italic style, and size to it.
|
PGFont |
PrismFontFactory.loadEmbeddedFont(String name,
InputStream fontStream,
float size,
boolean register) |
PGFont |
FontFactory.loadEmbeddedFont(String name,
InputStream stream,
float size,
boolean register)
Loads a font from the specified input stream.
|
PGFont |
PrismFontFactory.loadEmbeddedFont(String name,
String path,
float size,
boolean register)
registerEmbeddedFont(String name, String path) is a small subset of
registerEmbeddedFont(String name, InputStream fontStream)
It does not attempt to create a temporary file and has different
parameters.
|
PGFont |
FontFactory.loadEmbeddedFont(String name,
String path,
float size,
boolean register)
Loads a font from the specified path.
|
Modifier and Type | Method and Description |
---|---|
PGFont |
PrismFontFactory.deriveFont(PGFont font,
boolean bold,
boolean italic,
float size) |
PGFont |
FontFactory.deriveFont(PGFont font,
boolean bold,
boolean italic,
float size)
Creates a new Font object by replicating the current Font object
and applying a new bold style, italic style, and size to it.
|
Modifier and Type | Method and Description |
---|---|
protected TextRun |
DWGlyphLayout.addTextRun(PrismTextLayout layout,
char[] chars,
int start,
int length,
PGFont font,
TextSpan span,
byte level) |
void |
DWGlyphLayout.layout(TextRun run,
PGFont font,
FontStrike strike,
char[] text) |
Modifier and Type | Method and Description |
---|---|
void |
HBGlyphLayout.layout(TextRun run,
PGFont font,
FontStrike strike,
char[] text) |
Modifier and Type | Method and Description |
---|---|
PGFont |
PrismTextLayout.getFont() |
Modifier and Type | Method and Description |
---|---|
protected TextRun |
GlyphLayout.addTextRun(PrismTextLayout layout,
char[] chars,
int start,
int length,
PGFont font,
TextSpan span,
byte level) |
abstract void |
GlyphLayout.layout(TextRun run,
PGFont font,
FontStrike strike,
char[] text) |
Copyright © 2020. All rights reserved.