Class ArtFonts
java.lang.Object
com.codename1.art.ArtFonts
Maps the font families an artwork names to Codename One fonts.
Register a TrueType font for a family with register; any other family falls back to
the native main font (or the system font where native fonts are missing), in the right
weight and style.
-
Method Summary
-
Method Details
-
register
Registers a font for a family name.
Parameters
family: the name an artwork uses, compared ignoring casebold: the weight it is foritalic: the style it is forfont: the font, at any size; it is derived to each size needed
-