Constructor

new(entry:FileEntry)

Methods

@:value({ smoothing : 1 / 32, alphaCutoff : 0.5, channel : 0 })toSdfFont(?size:Int, channel:SDFChannel = 0, alphaCutoff:Float = 0.5, smoothing:Float = 1 / 32):Font

Load and cache Signed Distance Field font with specified size, channel, alphaCutoff and smoothing. ( default : initial size, red, 0.5, 1 / 32 ) For more information on SDF texture generation refer to this page: https://github.com/libgdx/libgdx/wiki/Distance-field-fonts For more information on MSDF texture generation refer to this page: https://github.com/Chlumsky/msdfgen

Inherited Variables

Defined by Resource

read onlyentry:FileEntry

read onlyname:String

Inherited Methods

Defined by Resource

watch(onChanged:Null<() ‑> Void>):Void