public abstract class GlyphLayout extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CANONICAL_SUBSTITUTION |
static int |
HINTING |
static int |
LAYOUT_LEFT_TO_RIGHT
A flag bit indicating text direction as determined by Bidi analysis.
|
static int |
LAYOUT_NO_LIMIT_CONTEXT
A flag bit indicating that text in the char array
after the indicated limit should not be examined.
|
static int |
LAYOUT_NO_START_CONTEXT
A flag bit indicating that text in the char array
before the indicated start should not be examined.
|
static int |
LAYOUT_RIGHT_TO_LEFT |
Constructor and Description |
---|
GlyphLayout() |
Modifier and Type | Method and Description |
---|---|
protected TextRun |
addTextRun(PrismTextLayout layout,
char[] chars,
int start,
int length,
PGFont font,
TextSpan span,
byte level) |
int |
breakRuns(PrismTextLayout layout,
char[] chars,
int flags) |
void |
dispose() |
protected int |
getInitialSlot(FontResource fr) |
static GlyphLayout |
getInstance() |
abstract void |
layout(TextRun run,
PGFont font,
FontStrike strike,
char[] text) |
public static final int CANONICAL_SUBSTITUTION
public static final int LAYOUT_LEFT_TO_RIGHT
public static final int LAYOUT_RIGHT_TO_LEFT
public static final int LAYOUT_NO_START_CONTEXT
public static final int LAYOUT_NO_LIMIT_CONTEXT
public static final int HINTING
protected TextRun addTextRun(PrismTextLayout layout, char[] chars, int start, int length, PGFont font, TextSpan span, byte level)
public int breakRuns(PrismTextLayout layout, char[] chars, int flags)
public abstract void layout(TextRun run, PGFont font, FontStrike strike, char[] text)
protected int getInitialSlot(FontResource fr)
public static GlyphLayout getInstance()
public void dispose()
Copyright © 2020. All rights reserved.