Table of Contents

Struct FontIntent

Namespace
Velvet
Assembly
Velvet.Docs.dll

The combined font request extracted from an element's class list: a family, a weight, and an italic flag, each tracked with a "was it specified?" companion. Because all three facets are gathered together (rather than applied class-by-class), font-bold italic composes into a single bold-and-italic result — something the raw -unity-font-style property cannot express from two independent classes.

public readonly struct FontIntent

Constructors

FontIntent(string?, bool, VelvetFontWeight, bool, bool, bool)

Fields

Family
HasFamily
HasItalic
HasWeight
Italic
Weight