Z.Font(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
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
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
src | string | The filename or URL of the font file to load. |
Returns
Section titled “Returns”An existing Z.Font
instance if one has already been created or constructs one if necessary.