SKCanvas.DrawPositionedText Method

Definition

Overloads

DrawPositionedText(String, SKPoint[], SKPaint)

Draws glyphs of the text at specified locations on the canvas.

DrawPositionedText(Byte[], SKPoint[], SKPaint)

Draws glyphs of the text at specified locations on the canvas.

DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint)

Draws text from a UTF-8 buffer at specified locations on the canvas.

DrawPositionedText(String, SKPoint[], SKPaint)

Draws glyphs of the text at specified locations on the canvas.

public void DrawPositionedText (string text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);

Parameters

text
String

The text to draw.

points
SKPoint[]

The positions for each glyph in the text string.

paint
SKPaint

The paint to use when drawing the text.

DrawPositionedText(Byte[], SKPoint[], SKPaint)

Draws glyphs of the text at specified locations on the canvas.

public void DrawPositionedText (byte[] text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);

Parameters

text
Byte[]

The text to draw.

points
SKPoint[]

The positions for each glyph in the text string.

paint
SKPaint

The paint to use when drawing the text.

DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint)

Draws text from a UTF-8 buffer at specified locations on the canvas.

public void DrawPositionedText (IntPtr buffer, int length, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);

Parameters

buffer
IntPtr

The pointer to a region holding UTF-8 encoded text to draw.

length
Int32

The number of bytes to read from the buffer.

points
SKPoint[]

The positions for each glyph in the buffer.

paint
SKPaint

The paint to use when drawing the text.

Applies to