Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates validated text styling.

API: engine
Project: Inno.Text

public Inno.Text.TextStyle.TextStyle(float fontSize, int faceIndex = 0, int weight = 400, Inno.Text.TextFontStyle style = Inno.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.