RichTextKit v0.4

TextPaintOptions Class

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

Options to control how TextBlock is rendered.

public class TextPaintOptions

Inheritance

TextPaintOptions → object

Constructors

TextPaintOptions()

Constructs a new text paint options

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.

Selection

An optional TextRange to painted as selected.

SelectionColor

The color to be used for the selection background.

SelectionHandleColor

The color to be used for touch screen selection handles

SelectionHandleScale

Scaling of the touch screen selection handles

Methods

Clone()

Creates a clone of this object

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.