public class LocalGlyphRasterizer
extends java.lang.Object
Constructor and Description |
---|
LocalGlyphRasterizer() |
Modifier and Type | Method and Description |
---|---|
protected static android.graphics.Bitmap |
drawGlyphBitmap(java.lang.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. |
@WorkerThread protected static android.graphics.Bitmap drawGlyphBitmap(java.lang.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.