import { Font } from "https://deno.land/x/sdl2@0.9.0/mod.ts";
Font is a helper class for rendering text.
Constructors
new
Font(raw: Deno.PointerValue)Properties
[_raw]: Deno.PointerValue
Methods
renderBlended(text: string, color: Color)
Render text at high quality to a new ARGB surface.
renderSolid(text: string, color: Color)
Render a solid color version of the text.