Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates validated text styling.

API: scripting
Project: Inno.Text
Scope: Runtime

public InnoEngine.Text.TextStyle.TextStyle(float fontSize, int faceIndex = 0, int weight = 400, InnoEngine.Text.TextFontStyle style = InnoEngine.Text.TextFontStyle.Normal, float letterSpacing = 0)

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.