Skip to content

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

ParameterTypeDescription
valZ.Font or stringThe font to set. If val is a string then a Z.Font will be constructed, interpreting the string as a filename or URL.

this