Documentation / @finchart/core / index / FontVerdicts
Class: FontVerdicts
Defined in: packages/core/src/render/canvas-renderer.ts:546
Font string → the string that actually gets set, or null (= fall to the caller's fallback).
Unlike color, this isn't true/false, because there's a middle step — a font invalid only in size gets set as "11px <family>", keeping the family alive.
Extends
Verdicts<string|null>
Constructors
Constructor
new FontVerdicts():
FontVerdicts
Returns
FontVerdicts
Inherited from
Verdicts<string | null>.constructor
Methods
get()
get(
key):string|null|undefined
Defined in: packages/core/src/render/canvas-renderer.ts:525
Parameters
key
string
Returns
string | null | undefined
Inherited from
Verdicts.get
set()
set(
key,verdict):void
Defined in: packages/core/src/render/canvas-renderer.ts:529
Parameters
key
string
verdict
string | null
Returns
void
Inherited from
Verdicts.set