Synced
UiFontRegistration.Constructor
Section titled “UiFontRegistration.Constructor”
- Creates a validated synchronous font registration request.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.UI
Declaration
Section titled “Declaration”public Inno.UI.UiFontRegistration.UiFontRegistration(System.ReadOnlyMemory<byte> data, int faceIndex, string family, Inno.Text.TextFontStyle style, int weight)Parameters
Section titled “Parameters”Parameter data: Encoded font bytes, valid for the duration of the backend call.
Parameter faceIndex: Zero-based face index in a font collection.
Parameter family: Logical family visible to document authors.
Parameter style: Requested logical font style.
Parameter weight: CSS-compatible weight from 100 through 1000.