Studio

font(...)

font(val: Font): this;

font(val: string): this;

Sets the Z.Font for this object.

Default value: null

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

this

Open in new window