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
Edging | Controls how font edges are drawn |
Hinting | Controls the font hint used when rendering text |
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 |
SubpixelPositioning | Requests text be drawn at sub-pixel offsets |
Methods
Clone() | Creates a clone of this object |