* Render the given character to an image. * * Returned image data: * - `data`: rasterized glyph pixels. * - `left`: x offset from the glyph origin to the left edge of `data`, in pixels. Default `0`. * - `top`: y offset from the glyph origin to the top edge of `data`, in pixels. Defaul
(char: string)
| 45 | * - `top`: y offset from the glyph origin to the top edge of `data`, in pixels. Default `0`. |
| 46 | */ |
| 47 | draw(char: string): { |
| 48 | data: ImageData; |
| 49 | left?: number; |
| 50 | top?: number; |
no outgoing calls