RichTextKit v0.4

Topten.RichTextKit Namespace

Classes

FontFallback

Helper to split a run of code points based on a particular typeface into a series of runs where unsupported code points are mapped to a fallback font.

FontMapper

The FontMapper class is responsible for mapping style typeface information to an SKTypeface.

FontRun

Represents a font run - a physical sequence of laid glyphs all with the same font and style attributes.

IStyleExtensions

Extension methods for working with IStyle

RichString

Represents a string decorated with rich text information including various helper methods for constructing rich text strings with a fluent-like API.

Style

A basic implementation of IStyle interface provides styling information for a run of text.

StyledText

Represents a block of formatted, laid out and measurable text

StyleManager

Helper class for managing RichTextKit styles.

StyleRun

Represets a style run - a logical run of characters all with the same style.

SwapHelper

Helper class to swap two values

TextBlock

Represents a block of formatted, laid out and measurable text

TextLine

Represents a laid out line of text.

TextPaintOptions

Options to control how TextBlock is rendered.

Interfaces

ICharacterMatcher

Provides a mechanism to override the default font fallback character matching

IStyle

Provides styling information for a run of text.

Structs

CaretInfo

Used to return caret positioning information from the TextBlock.GetCaretInfo(CaretPosition) method.

CaretPosition

Stores state information about a caret position

FontFallback.Run

Specified details about a font fallback run

HitTestResult

Used to return hit test information from the TextBlock.HitTest(float, float) method.

TextRange

Represents a range of code points in a text document

Enums

FontRunKind

Indicates the kind of font run.

FontVariant

Describes variations to a base font for a run of text.

StrikeThroughStyle

Describes the strike-through style for a run of text

TextAlignment

Species the alignment of text within a text block

TextDirection

Specifies the text writing direction for text.

UnderlineStyle

Describes the underline style for a run of text