Synced
TextStyle.Constructor
Section titled “TextStyle.Constructor”
- Creates validated text styling.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Text
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Text.TextStyle.TextStyle(float fontSize, int faceIndex = 0, int weight = 400, InnoEngine.Text.TextFontStyle style = InnoEngine.Text.TextFontStyle.Normal, float letterSpacing = 0)Parameters
Section titled “Parameters”Parameter fontSize: The positive font size in logical pixels.
Parameter faceIndex: The zero-based face index within the font collection.
Parameter weight: The requested CSS-compatible weight from 1 through 1000.
Parameter style: The requested face slant.
Parameter letterSpacing: Additional logical pixels inserted after each glyph.