Z.Font(...)
function Font(src : string) : Z.Font;
Returns a Z.Font instance for the supplied source filename or URL. This function returns an existing Z.Font instance if one has already been created or constructs one if necessary.
Parameters
Parameter | Type | Description |
---|---|---|
src | string | The filename or URL of the font file to load. |
Returns
An existing Z.Font
instance if one has already been created or constructs one if necessary.