SKCanvas.DrawPositionedText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DrawPositionedText(String, SKPoint[], SKPaint) |
Obsolete.
Draws glyphs of the text at specified locations on the canvas. |
DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint) |
Obsolete.
Draws text from a UTF-8 buffer at specified locations on the canvas. |
DrawPositionedText(Byte[], SKPoint[], SKPaint) |
Obsolete.
Draws glyphs of the text at specified locations on the canvas. |
DrawPositionedText(String, SKPoint[], SKPaint)
Caution
Use DrawText(SKTextBlob, float, float, SKPaint) instead.
Draws glyphs of the text at specified locations on the canvas.
public void DrawPositionedText (string text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
[System.Obsolete("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
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.
- Attributes
Applies to
DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint)
Caution
Use DrawText(SKTextBlob, float, float, SKPaint) instead.
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);
[System.Obsolete("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
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.
- Attributes
Applies to
DrawPositionedText(Byte[], SKPoint[], SKPaint)
Caution
Use DrawText(SKTextBlob, float, float, SKPaint) instead.
Draws glyphs of the text at specified locations on the canvas.
public void DrawPositionedText (byte[] text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
[System.Obsolete("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
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.
- Attributes