跳转到内容

parseFontDeclaration

parseFontDeclaration(value, oStyle): void

Parses a short font declaration, building adding its properties to a style object

Parameters

value: string

font declaration

oStyle: Record<string, any>

definition

Returns

void

Static

Function

Member Of

fabric

Defined in

src/parser/parseFontDeclaration.ts:12