LogoPixi’VN
pixi-jsFunctions

Function: getFontFamilyName()

> getFontFamilyName(url): string

Defined in: node_modules/pixi.js/lib/assets/loader/parsers/loadWebFont.d.ts:50

Internal

Return font face name from a file name Ex.: 'fonts/titan-one.woff' turns into 'Titan One'

Parameters

url

string

File url

Returns

string