# Package icyllis.modernui.text.style

package icyllis.modernui.text.style

- Related Packages
  Package
  Description
  icyllis.modernui.text
  Provides classes used to render or track text and text spans on the screen, which include text style controlling, line break, and several utility classes.
  icyllis.modernui.text.method
- Class
  Description
  AbsoluteSizeSpan
  A span that changes the size of the text it's attached to.
  AlignmentSpan
  Span that allows defining the alignment of text at the paragraph level.
  AlignmentSpan.Standard
  BackgroundColorSpan
  Changes the background color of the text to which the span is attached.
  BulletSpan
  CharacterStyle
  The classes that affect character-level text formatting extend this class.
  ClickableSpan
  If an object of this type is attached to the text of a TextView with a movement method of LinkMovementMethod, the affected spans of text can be selected.
  DynamicDrawableSpan
  Span that replaces the text it's attached to with a `Drawable` that can be aligned with the bottom or with the baseline of the surrounding text.
  DynamicDrawableSpan.AlignmentType
  Defines acceptable alignment types.
  ForegroundColorSpan
  Changes the color of the text to which the span is attached.
  ImageSpan
  Span that replaces the text it's attached to with a `Drawable` that can be aligned with the bottom or with the baseline of the surrounding text.
  LeadingMarginSpan
  A paragraph style affecting the leading margin.
  LeadingMarginSpan.LeadingMarginSpan2
  An extended version of `LeadingMarginSpan`, which allows the implementor to specify the number of lines of the paragraph to which this object is attached that the "first line of paragraph" margin width will be applied to.
  LeadingMarginSpan.Standard
  The standard implementation of LeadingMarginSpan, which adjusts the margin but does not do any rendering.
  LineBackgroundSpan
  Used to change the background of lines where the span is attached to.
  LineBackgroundSpan.Standard
  Default implementation of the `LineBackgroundSpan`, which changes the background color of the lines to which the span is attached.
  LineHeightSpan
  The classes that affect the line height of paragraph should implement this interface.
  LocaleSpan
  Changes the `Locale` of the text to which the span is attached.
  MetricAffectingSpan
  The classes that affect character-level text formatting in a way that changes the metric of characters extend this class.
  ParagraphStyle
  The classes that affect paragraph-level text formatting implement this interface.
  QuoteSpan
  RelativeSizeSpan
  Uniformly scales the size of the text to which it's attached by a certain proportion.
  ReplacementSpan
  StrikethroughSpan
  A span that strikes through the text it's attached to.
  StyleSpan
  Span that allows setting the style of the text it's attached to.
  SubscriptSpan
  The span that moves the position of the text baseline lower.
  SuperscriptSpan
  The span that moves the position of the text baseline higher.
  TabStopSpan
  Paragraph affecting span that changes the position of the tab with respect to the leading margin of the line.
  TabStopSpan.Standard
  The default implementation of TabStopSpan that allows setting the offset of the tab stop from the leading margin of the first line of text.
  TrailingMarginSpan
  A paragraph style affecting the trailing margin.
  TrailingMarginSpan.Standard
  TypefaceSpan
  UnderlineSpan
  A span that underlines the text it's attached to.
  UpdateAppearance
  The classes that affect character-level text in a way that modifies their appearance when one is added or removed must implement this interface.
  UpdateLayout
  The classes that affect character-level text formatting in a way that triggers a text layout update when one is added or removed must implement this interface.
  URLSpan
  Implementation of the `ClickableSpan` that allows setting a url string.
  WrapTogetherSpan