Table of Contents

Method TryExtract

Namespace
Velvet
Assembly
Velvet.Docs.dll

TryExtract(string[], out FontIntent)

Scans classNames and folds every font utility into one FontIntent. Each facet (family / weight / italic) follows CSS cascade order: a later class of the same facet overrides an earlier one. Returns false when no font class is present.

public static bool TryExtract(string[] classNames, out FontIntent intent)

Parameters

classNames string[]
intent FontIntent

Returns

bool