RichTextKit v0.1

TextBlock.Paint Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextBlock

Overloads

Paint(SkiaSharp.SKCanvas, TextPaintOptions)

Paint this text block

Paint(SkiaSharp.SKCanvas, SkiaSharp.SKPoint, TextPaintOptions)

Paint this text block

Paint(SkiaSharp.SKCanvas, TextPaintOptions)

Paint this text block

public void Paint(SkiaSharp.SKCanvas canvas, TextPaintOptions options = null);

Parameters

SkiaSharp.SKCanvas canvas

The Skia canvas to paint to

TextPaintOptions options = null

Options controlling the paint operation

Paint(SkiaSharp.SKCanvas, SkiaSharp.SKPoint, TextPaintOptions)

Paint this text block

public void Paint(SkiaSharp.SKCanvas canvas, SkiaSharp.SKPoint position, TextPaintOptions options = null);

Parameters

SkiaSharp.SKCanvas canvas

The Skia canvas to paint to

SkiaSharp.SKPoint position

The top left position within the canvas to draw at

TextPaintOptions options = null

Options controlling the paint operation