RichTextKit v0.1

Style Class

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit

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

public class Style :
    IStyle

Inheritance

Style → object

Interfaces

IStyle

Constructors

Style()

Properties

FontFamily

The font family for text this text run (defaults to "Arial").

FontItalic

True if the text in this run should be displayed in an italic font; otherwise False (defaults to false).

FontSize

The font size for text in this run (defaults to 16).

FontVariant

The font variant (ie: super/sub-script) for text in this run.

FontWeight

The font weight for text in this run (defaults to 400).

LineHeight

The line height for text in this run as a multiplier (defaults to 1.0).

StrikeThrough

The strike through style for the text in this run (defaults to None).

TextColor

The text color for text in this run (defaults to black).

TextDirection

Text direction override for this span

Underline

The underline style for text in this run (defaults to None).