Companion
object Companion
Functions
Link copied to clipboard
operator fun invoke(font: Font, fontSize: Double, chars: CharacterSet = CharacterSet.LATIN_ALL, fontName: String = font.name, paint: Paint = Colors.WHITE, mipmaps: Boolean = true, effect: BitmapEffect? = null): BitmapFont
Creates a new BitmapFont of fontSize using an existing Font (SystemFont is valid). Just creates the glyphs specified in chars. Allows to set a different fontName than the one provided at Font.
inline operator fun invoke(fontSize: Number, lineHeight: Number, base: Number, glyphs: IntMap<BitmapFont.Glyph>, kernings: IntMap<BitmapFont.Kerning>, name: String = "BitmapFont", distanceField: String? = null): BitmapFont