FormattedLine
Represents a decorated text line with optional linking capability. A line can have text with optional size, color, indent or as header; and up to three icons: link, object, star in that order. Special cases:
Constructors
Looks for linkable ruleset objects in Unique parameters and returns a linked FormattedLine if successful, a plain one otherwise
Types
Constants used by FormattedLine
Used only as parameter to FormattedLine.render and MarkupRenderer.render
Link types that can be used for FormattedLine.link
Functions
Extension: determines if a String looks like a link understood by the OS
Parse a json-supplied color string to Color, defaults to defaultColor.
Place a RuleSet object icon.
Self-check to potentially support the mod checker
Properties
Display an Image instead of text, sized. Can be a path as understood by ImageGetter.getImage or the name of a png or jpg in ExtraImages.
Width of the extraImage, height is calculated preserving aspect ratio. Defaults to available width.