public class SimpleFontMetrics extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SimpleFontMetrics.FontMetricsHelper |
static class |
SimpleFontMetrics.IndexedFontMetrics |
static class |
SimpleFontMetrics.SystemFontMetrics |
| Modifier and Type | Field and Description |
|---|---|
static String |
FONT_NAME |
static int |
FONT_SIZE |
| Modifier and Type | Method and Description |
|---|---|
static SimpleFontMetrics |
getInstance() |
static List<List<Integer>> |
loadRanges(String name) |
static void |
main(String[] args)
Simple test
|
byte |
widthOf(int codePoint) |
int |
widthOf(String input) |
public static final String FONT_NAME
public static final int FONT_SIZE
public static SimpleFontMetrics getInstance()
public int widthOf(String input)
public byte widthOf(int codePoint)
public static final List<List<Integer>> loadRanges(String name) throws IOException
IOExceptionCopyright © 2022. All rights reserved.