import { type SkFontConstructor } from "https://deno.land/x/canvas@v1.0.0/mod.ts";
See SkFont.h for more.
Methods
new(face: SkTypeface | null, size?: number): SkFont
Constructs SkFont with default values with SkTypeface.
new(): SkFont
Constructs SkFont with default values with SkTypeface and size in points, horizontal scale, and horizontal skew. Horizontal scale emulates condensed and expanded fonts. Horizontal skew emulates oblique fonts.