Maven module :un.api : api-display :
Class : un.engine.painter2d.FontContext
Extends/Implements : -
Subclasses : -

Provides informations on the available fonts, glyphs and metrics.
author  Johann Sorel


Variables : INSTANCE
Functions : getResolvers, getFamilies, getMetadata, getMetadata, getGlyph, getGlyph


public FontContext INSTANCE



Lists available font resolvers.
return  array of FontResolver, never null but can be empty.
public FontResolver[] getResolvers ()


List all available font families.
return  Sequence of CharSequences
public Sequence getFamilies ()


Get font metadatas.
param  font
return
public FontMetadata getMetadata (Font font)

public FontMetadata getMetadata (Chars family)

public Geometry2D getGlyph (Font font, int unicode)

public Geometry2D getGlyph (Font font, Char character)