RichTextKit v0.1

TextPaintOptions Class

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

Options to control how TextBlock is rendered.

public class TextPaintOptions

Inheritance

TextPaintOptions → object

Constructors

TextPaintOptions()

Fields

Default

A default set of paint options that renders text blocks without a selection range.

Properties

IsAntialias

Controls whether text is rendered with anti-aliasing.

LcdRenderText

Controls whether text is rendered using LCD sub-pixel rendering.

SelectionColor

The color to draw selection background with.

SelectionEnd

An optional code point index of the end of a selection range.

SelectionStart

An optional code point index of the start of a selection range.