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.
font(val: Font): this;
font(val: string): this;
Sets the Z.Font for this object.
Default value: null
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | Z.Font or string | The font to set. If val is a string then a Z.Font will be constructed, interpreting the string as a filename or URL. |
Returns
Section titled “Returns”this