Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • String

Index

Constructors

constructor

Methods

Static measureString

  • measureString(str: string, font?: Font, scale?: number, screenWidth?: number): number
  • Parameters

    • str: string
    • Optional font: Font
    • Optional scale: number
    • screenWidth: number = Screen.ScaledWidth

    Returns number

Static measureStringWidthNoConvert

  • measureStringWidthNoConvert(input: string, font?: Font, scale?: number): number
  • Parameters

    • input: string
    • font: Font = Font.ChaletLondon
    • scale: number = 0

    Returns number

Static stringToArray

  • stringToArray(input: string): string[]

Generated using TypeDoc