Method Resolve
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Resolve(string?, VelvetFontWeight, bool)
Resolves a font request to a ResolvedFont. When family is null
the DefaultFamily is used. Returns a result with HasAsset
false (but meaningful residual flags) when no asset is registered for the request — the caller
then falls back to the binary -unity-font-style threshold.
public static ResolvedFont Resolve(string? family, VelvetFontWeight weight, bool italic)
Parameters
familystringweightVelvetFontWeightitalicbool