iya-sts
    Preparing search index...
    textWidth: (text: any, size: any) => number = ...

    Type Declaration

      • (text: any, size: any): number
      • Estimates how wide a string is drawn, from three buckets of character width.

        Parameters

        • text: any

          the text

        • size: any

          the font size

        Returns number

        the estimated width in the drawing's units