Synced
UiDocumentFontDeclaration.Constructor
Section titled “UiDocumentFontDeclaration.Constructor”
- One font asset declared by a UI document language frontend.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.UI.Assets
Declaration
Section titled “Declaration”public Inno.UI.Assets.UiDocumentFontDeclaration.UiDocumentFontDeclaration(string assetPath, string family, Inno.Text.TextFontStyle style, int weight)Parameters
Section titled “Parameters”Parameter assetPath: Isolated font asset path.
Parameter family: Document-private physical family used in canonical text.
Parameter style: CSS-compatible face style.
Parameter weight: CSS-compatible face weight.