Uses of Class
com.raylib.GlyphInfo
Packages that use GlyphInfo
-
Uses of GlyphInfo in com.raylib
Methods in com.raylib that return GlyphInfoModifier and TypeMethodDescriptionstatic GlyphInfo
GlyphInfo.allocateArray
(long elementCount) Allocate an array of GlyphInfostatic GlyphInfo
GlyphInfo.allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of GlyphInfoGlyphInfo.getArrayElement
(int index) static GlyphInfo
Raylib.getGlyphInfo
(Font font, int codepoint) Get glyph font info data for a codepoint (unicode character), fallback to '?' if not foundstatic GlyphInfo
Raylib.getGlyphInfo
(Arena arena, Font font, int codepoint) Get glyph font info data for a codepoint (unicode character), fallback to '?' if not foundFont.getGlyphs()
Glyphs info datastatic GlyphInfo
Raylib.loadFontData
(ByteBuffer fileData, int dataSize, int fontSize, IntBuffer codepoints, int codepointCount, int type) Load font data for further useGlyphInfo.setAdvanceX
(int value) Character advance position XCharacter image dataGlyphInfo.setOffsetX
(int value) Character offset X when drawingGlyphInfo.setOffsetY
(int value) Character offset Y when drawingGlyphInfo.setValue
(int value) Character value (Unicode)Methods in com.raylib with parameters of type GlyphInfoModifier and TypeMethodDescriptionGlyphs info datastatic void
Raylib.unloadFontData
(GlyphInfo glyphs, int glyphCount) Unload font chars info data (RAM)Constructors in com.raylib with parameters of type GlyphInfoModifierConstructorDescriptionFont
(int baseSize, int glyphCount, int glyphPadding, Texture texture, Rectangle recs, GlyphInfo glyphs) Construct with auto memory allocator and fields initialized as specifiedFont
(SegmentAllocator arena, int baseSize, int glyphCount, int glyphPadding, Texture texture, Rectangle recs, GlyphInfo glyphs) Construct with your own memory allocator and fields initialized as specified