Skip to main content
Module

x/sdl2/mod.ts>Font#renderBlended

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

Render text at high quality to a new ARGB surface.

Parameters

text: string

text to render, in Latin1 encoding.

color: Color

the foreground color of the text