Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sdl2/mod.ts>Font#renderSolid

SDL2 module for Deno
Latest
method Font.prototype.renderSolid
import { Font } from "https://deno.land/x/sdl2@0.9.0/mod.ts";

Render a solid color version of the text.

Parameters

text: string

text to render, in Latin1 encoding.

color: Color

the foreground color of the text