public class TrueTypeGlyphProvider extends java.lang.Object implements IGlyphProvider
Modifier and Type | Class and Description |
---|---|
(package private) class |
TrueTypeGlyphProvider.GlpyhInfo |
Modifier and Type | Field and Description |
---|---|
private float |
ascent |
private it.unimi.dsi.fastutil.chars.CharSet |
chars |
private java.nio.ByteBuffer |
field_230146_a_ |
private org.lwjgl.stb.STBTTFontinfo |
fontInfo |
private float |
oversample |
private float |
scale |
private float |
shiftX |
private float |
shiftY |
Constructor and Description |
---|
TrueTypeGlyphProvider(java.nio.ByteBuffer p_i230051_1_,
org.lwjgl.stb.STBTTFontinfo p_i230051_2_,
float p_i230051_3_,
float p_i230051_4_,
float p_i230051_5_,
float p_i230051_6_,
java.lang.String p_i230051_7_) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
TrueTypeGlyphProvider.GlpyhInfo |
getGlyphInfo(char character) |
private final java.nio.ByteBuffer field_230146_a_
private final org.lwjgl.stb.STBTTFontinfo fontInfo
private final float oversample
private final it.unimi.dsi.fastutil.chars.CharSet chars
private final float shiftX
private final float shiftY
private final float scale
private final float ascent
public TrueTypeGlyphProvider(java.nio.ByteBuffer p_i230051_1_, org.lwjgl.stb.STBTTFontinfo p_i230051_2_, float p_i230051_3_, float p_i230051_4_, float p_i230051_5_, float p_i230051_6_, java.lang.String p_i230051_7_)
@Nullable public TrueTypeGlyphProvider.GlpyhInfo getGlyphInfo(char character)
getGlyphInfo
in interface IGlyphProvider
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface IGlyphProvider