VMPrint API Reference - v1.0.0
    Preparing search index...
    Index

    Constructors

    Methods

    • Resolves the best-matching FontConfig for given font properties.

      Parameters

      • family: string
      • weight: string | number = 400
      • style: string = 'normal'
      • Optionalregistry: FontConfig[]
      • Optionalmanager: FontManager

      Returns ResolvedFontMatch

    • Helper to ensure values are valid numbers. Throws an error if the value is not a finite number or a numeric string.

      Parameters

      • v: any

      Returns number