RichTextKit v0.4

TextDocument.Paint Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Editor
Declaring Type: TextDocument

Paint this text block

public void Paint(SkiaSharp.SKCanvas canvas, float fromYCoord, float toYCoord, Topten.RichTextKit.TextPaintOptions options = null);

Parameters

SkiaSharp.SKCanvas canvas

The Skia canvas to paint to

float fromYCoord

The top Y-Coord of the visible part of the document

float toYCoord

The bottom Y-Coord of the visible part of the document

Topten.RichTextKit.TextPaintOptions options = null

Options controlling the paint operation