Phaser API Documentation

  Version: 
<static> ParseXMLBitmapFont(xml, frame, [xSpacing], [ySpacing])

Description:

Parse an XML font to Bitmap Font data for the Bitmap Font cache.

Parameters:

name type arguments description
xml XMLDocument

The XML Document to parse the font from.

frame Phaser.Textures.Frame

The texture frame to take into account when creating the uv data.

xSpacing number <optional>

The x-axis spacing to add between each letter.

ySpacing number <optional>

The y-axis spacing to add to the line height.

Returns:
Description:

The parsed Bitmap Font data.