Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/shapes_plus/mod.ts>Fonts.register

Used canvas library to make shapes
Latest
method Fonts.register
Re-export
import { Fonts } from "https://deno.land/x/shapes_plus@v0.0.5.1/mod.ts";

Register a font either from file or in memory buffer

Parameters

path: string

Parameters

data: Uint8Array
optional
alias: string