Skip to content

freetype_createFreeType2

freetypefunctionOpenCV 5.0.0
import { freetype_createFreeType2 } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSSee signature below
FUNCTIONfreetype_createFreeType2
RETURN TYPEfreetype_FreeType2 | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create FreeType2 Instance

The function createFreeType2 create instance to draw UTF-8 strings.

freetype_createFreeType2(): freetype_FreeType2 | null;
Returns

The freetype_FreeType2 | null result.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.