Package com.mojang.blaze3d.font
Class TrueTypeGlyphProvider
java.lang.Object
com.mojang.blaze3d.font.TrueTypeGlyphProvider
- All Implemented Interfaces:
- GlyphProvider,- AutoCloseable
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final floatprivate org.lwjgl.stb.STBTTFontinfoprivate ByteBuffer(package private) final float(package private) final float(package private) final float(package private) final floatprivate final it.unimi.dsi.fastutil.ints.IntSet
- 
Constructor SummaryConstructorsConstructorDescriptionTrueTypeGlyphProvider(ByteBuffer p_83846_, org.lwjgl.stb.STBTTFontinfo p_83847_, float p_83848_, float p_83849_, float p_83850_, float p_83851_, String p_83852_) 
- 
Method Summary
- 
Field Details- 
fontMemory
- 
font@Nullable private org.lwjgl.stb.STBTTFontinfo font
- 
oversamplefinal float oversample
- 
skipprivate final it.unimi.dsi.fastutil.ints.IntSet skip
- 
shiftXfinal float shiftX
- 
shiftYfinal float shiftY
- 
pointScalefinal float pointScale
- 
ascentfinal float ascent
 
- 
- 
Constructor Details- 
TrueTypeGlyphProviderpublic TrueTypeGlyphProvider(ByteBuffer p_83846_, org.lwjgl.stb.STBTTFontinfo p_83847_, float p_83848_, float p_83849_, float p_83850_, float p_83851_, String p_83852_) 
 
- 
- 
Method Details- 
getGlyph- Specified by:
- getGlyphin interface- GlyphProvider
 
- 
validateFontOpenorg.lwjgl.stb.STBTTFontinfo validateFontOpen()
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- GlyphProvider
 
- 
getSupportedGlyphspublic it.unimi.dsi.fastutil.ints.IntSet getSupportedGlyphs()- Specified by:
- getSupportedGlyphsin interface- GlyphProvider
 
 
-