Interface RichText.StyleMapper

Enclosing class:
RichText

public static interface RichText.StyleMapper
Computes a new style from an old one, for restyle.
  • Method Summary

    Modifier and Type
    Method
    Description
    map(TextStyle style)
    Maps one style.
  • Method Details

    • map

      TextStyle map(TextStyle style)

      Maps one style.

      Parameters
      • style: the style a run has
      Returns

      the style it should have