method saveFontOutline

bool saveFontOutline(string face,uint32 style,uint32 weight,string path);

Argumente

Zurückgegebener Wert

This method saves a PlatformBasics font outline to the specified file name.
function SaveOutline()
{
    var filter = "Boxely Font Files (*.fnt)|*.fnt||";
    var fileList = appUtils.saveFileDialog(scene, "Save Font File", null, null, filter, "fnt");
    if (fileList)
    {
        var count = fileList.count;
        if (count == 1)
        {
            appUtils.saveFontOutline("Arial", 4, 0, fileList.getValue(0));
        }
    }
}