public class LocalGlyphRasterizer extends Object
Modifier and Type | Method and Description |
---|---|
protected Bitmap |
drawGlyphBitmap(String fontFamily,
boolean bold,
char glyphID)
Uses Android-native drawing code to rasterize a single glyph
to a square
Bitmap which can be returned to portable
code for transformation into a Signed Distance Field glyph. |
protected Bitmap drawGlyphBitmap(String fontFamily, boolean bold, char glyphID)
Bitmap
which can be returned to portable
code for transformation into a Signed Distance Field glyph.fontFamily
- Font family string to pass to Typeface.createbold
- If true, use Typeface.BOLD optionglyphID
- 16-bit Unicode BMP codepoint to drawBitmap
to be displayed in the requested tile.© 2015–2019 Mapbox. All rights reserved.