Lenra Docs
Register on Lenra
  • Home
  • Getting started
    Open/Close
  • Guides
    Open/Close
  • Features
    Open/Close
  • References
    Open/Close
  • Contribute

    StrutStyle

    AttributeDescriptionType
    debugLabelA label to help identify this strut style.string
    fontFamilyThe font family to use for this strut style.string
    fontFamilyFallbackA list of fallback font families to use for this strut style.array
    fontSizeThe font size to use for this strut style.number
    fontWeightThe font weight to use for this strut style.string
    forceStrutHeightWhether to force the strut height.boolean
    heightThe minimum height of the strut.number
    leadingThe additional leading of the strut which is a multiple of fontSize.number
    leadingDistributionThe TextLeadingDistribution enum.string
    • even
    • proportional