Skip to main content

GetWrapTextSize

Callable

  • GetWrapTextSize(Text: string, Width: number, MaxLine: number): void

  • Reduces the font size progressively until the text fits the wrap size


    Parameters

    • Text: string

      Text that will be drawn

    • Width: number

      Width in which the text must fit

    • MaxLine: number

      Maximum of lines the word can wrap for

    Returns void

    • Nothing