...

Static methods

@:value({ mipmap : true, cacheMaterial : false })staticgen(fontSize:FontSize, cacheMaterial:Bool = false, mipmap:Bool = true):BitmapFont

@:value({ cacheMaterial : false })staticgenerate(family:String, size:Int, data:Xml, texture:BitmapData, cacheMaterial:Bool = false, mipmap:Bool):BitmapFont

@:value({ mipmap : true, cacheMaterial : false })statictype(type:Class<FontSize>, cacheMaterial:Bool = false, mipmap:Bool = true):BitmapFont

  • @param type @return

Parameters:

cacheMaterial
  • When true performance will improve but text using the same font will all use the samer material. meaning that color transforms will affect all of them.

Constructor

new()