public interface TextRenderer
| Modifier and Type | Method and Description |
|---|---|
void |
drawString(OutputDevice outputDevice,
String string,
float x,
float y) |
void |
drawString(OutputDevice outputDevice,
String string,
float x,
float y,
JustificationInfo info) |
static String |
getEffectivePrintableString(String input)
Returns a string containing printable characters only.
|
FSFontMetrics |
getFSFontMetrics(FontContext context,
FSFont font,
String string) |
int |
getWidth(FontContext context,
FSFont font,
String string)
Rarely need to use this method directly.
|
static String getEffectivePrintableString(String input)
input - The string can be nullnull if the input is nullOpenUtil.isSafeFontCodePointToPrint(int)void drawString(OutputDevice outputDevice, String string, float x, float y)
void drawString(OutputDevice outputDevice, String string, float x, float y, JustificationInfo info)
FSFontMetrics getFSFontMetrics(FontContext context, FSFont font, String string)
int getWidth(FontContext context, FSFont font, String string)
Breaker static method instead.Copyright © 2004–2025. All rights reserved.