HersheyFonts
import { HersheyFonts } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Only a subset of Hershey fonts https://en.wikipedia.org/wiki/Hershey_fonts are supported
Constructors and members
static FONT_HERSHEY_SIMPLEX
normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)
FONT_HERSHEY_SIMPLEX: HersheyFontsValue<0>,static FONT_HERSHEY_PLAIN
small size sans-serif font
FONT_HERSHEY_PLAIN: HersheyFontsValue<1>,static FONT_HERSHEY_DUPLEX
normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)
FONT_HERSHEY_DUPLEX: HersheyFontsValue<2>,static FONT_HERSHEY_COMPLEX
smaller version of FONT_HERSHEY_COMPLEX
FONT_HERSHEY_COMPLEX: HersheyFontsValue<3>,static FONT_HERSHEY_TRIPLEX
normal size serif font (more complex than FONT_HERSHEY_COMPLEX)
FONT_HERSHEY_TRIPLEX: HersheyFontsValue<4>,static FONT_HERSHEY_COMPLEX_SMALL
smaller version of FONT_HERSHEY_COMPLEX
FONT_HERSHEY_COMPLEX_SMALL: HersheyFontsValue<5>,static FONT_HERSHEY_SCRIPT_SIMPLEX
more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX
FONT_HERSHEY_SCRIPT_SIMPLEX: HersheyFontsValue<6>,static FONT_HERSHEY_SCRIPT_COMPLEX
more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX
FONT_HERSHEY_SCRIPT_COMPLEX: HersheyFontsValue<7>,static FONT_ITALIC
flag for italic font
FONT_ITALIC: HersheyFontsValue<16>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.