Font


Vocabulary
raylib

Class description
Represents a collections of glyphs that can be drawn to the screen. The fields are defined as followed:

Fields
baseSize the base size of the characters. This is how tall a glyph is.
glyphCount the number of glyph characters.
glyphPadding the padding around each glyph.
texture the texture atlas continaing the glyphs.
recs an array of rectangles used to find each glyph in texture.
glyphs metadata about each glyph.


Definition


STRUCT: Font
{ baseSize int initial: 0 } { glyphCount int initial: 0 }
{ glyphPadding int initial: 0 } {
texture Texture2D initial: S{ Texture2D
{ id 0 }
{ width 0 }
{ height 0 }
{ mipmaps 0 }
{ format 0 }
}
} { recs Rectangle* } { glyphs GlyphInfo* } ;


Methods