phaser - v3.90.0
    Preparing search index...
    • Returns an object containing dimensions of the Text object.

      Parameters

      • text: GameObjects.Text

        The Text object to calculate the size from.

      • size: TextMetrics

        The Text metrics to use when calculating the size.

      • lines: string[]

        The lines of text to calculate the size from.

      Returns GetTextSizeObject